Documentation
¶
Overview ¶
Package authconnector provides ...
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthConnector ¶
type AuthConnector interface { // Returns a ready-to-insert User instance // filled with data obtained from a third party. // The token must be retrieved by the cli GetUserInfo(token *oauth2.Token) (models.User, error) }
func GetConnectorForAccountType ¶
func GetConnectorForAccountType( accountType models.AccountType, ) (AuthConnector, error)
Factory method returning the appropriate AuthConnector for the given accontType
Click to show internal directories.
Click to hide internal directories.