Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service to handle tokens
type Token ¶
type Token struct { ID string `db:"id" json:"id,omitempty"` Person string `db:"person" json:"person,omitempty"` Source string `db:"source" json:"source,omitempty"` AccessToken string `db:"access_token" json:"access_token,omitempty"` ExpiresIn int `db:"expires_in" json:"expires_in,omitempty"` ExternalAccessToken string `db:"external_access_token" json:"external_access_token,omitempty"` ExternalRefreshToken string `db:"external_refresh_token" json:"external_refresh_token,omitempty"` ExternalExpiresIn int `db:"external_expires_in" json:"external_expires_in,omitempty"` ExternalTokenType string `db:"external_token_type" json:"external_token_type,omitempty"` Deleted bool `db:"deleted" json:"deleted,omitempty"` CreatedAt time.Time `db:"created_at" json:"created_at,omitempty"` UpdatedAt time.Time `db:"updated_at" json:"updated_at,omitempty"` }
Token saves token details for a user
Click to show internal directories.
Click to hide internal directories.