Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Location *time.Location
Functions ¶
Types ¶
type OAuthClient ¶
type OAuthClient struct { gorm.Model Provider *string `gorm:"Column:provider"` AuthorizeEndpoint *string `gorm:"Column:auth_endpoint"` ClientId *string `gorm:"Column:client_id"` ClientSecret *string `gorm:"Column:provider"` Scope *string `gorm:"Column:scope"` RedirectUri *string `gorm:"Column:redirect_uri"` StateKey *string `gorm:"Column:state_key"` }
OAuthClient => State will be populated later (not DB)
func GetClientByProvider ¶
func GetClientByProvider(prov string) (*OAuthClient, error)
func NewClient ¶
func NewClient() *OAuthClient
func (*OAuthClient) TableName ¶
func (*OAuthClient) TableName() string
Click to show internal directories.
Click to hide internal directories.