Documentation ¶
Overview ¶
Package google is an identity provider that authenticates with google.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewIdentityProvider ¶
func NewIdentityProvider(p Params) idp.IdentityProvider
NewIdentityProvider creates a google identity provider with the configuration defined by p.
Types ¶
type Params ¶
type Params struct { // ClientID contains the Application Id for the application // registered at // https://console.developers.google.com/apis/credentials. ClientID string `yaml:"client-id"` // ClientSecret contains a password type Application Secret for // the application as generated on // https://console.developers.google.com/apis/credentials. ClientSecret string `yaml:"client-secret"` }
Click to show internal directories.
Click to hide internal directories.