Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Auth ¶
type Auth interface { Setup() error CodeUrl(state string) string Exchange(code string) (*oauth2.Token, error) UserInfo(oauth2Token *oauth2.Token) (*model.User, error) }
Auth interface to implement as auth provider
func GetAuthProvider ¶
GetAuthProvider get an instance of auth provider based on config
Click to show internal directories.
Click to hide internal directories.