Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthenClient ¶
func NewAuthenClient ¶
func NewAuthenClient(cfg *Configuration) (*AuthenClient, error)
type Configuration ¶
type Configuration struct { // ClientID is the application's ID. ClientID string // ClientSecret is the application's secret. ClientSecret string // TokenURL is the resource server's token endpoint // URL. This is a constant specific to each server. TokenURL string }
Config describes a 2-legged OAuth2 flow, with both the client application information and the server's endpoint URLs.
func NewConfiguration ¶
func NewConfiguration(ClientID string, ClientSecret string, TokenURL string) *Configuration
Click to show internal directories.
Click to hide internal directories.