Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoOAuthRows = errors.New("no rows in oauth query")
Functions ¶
func OAuthQuery ¶
func OAuthQuery(dao *daos.Dao) *dbx.SelectQuery
Types ¶
type OAuth ¶
type OAuth struct { models.BaseModel // Fields Provider string `db:"provider"` AccessToken string `db:"access_token"` RefreshToken string `db:"refresh_token"` TokenType string `db:"token_type"` Expiry types.DateTime `db:"expiry"` // Relations UserId string `db:"user"` }
func GetOAuthByUserId ¶
Click to show internal directories.
Click to hide internal directories.