Documentation
¶
Index ¶
Constants ¶
View Source
const ProviderName = "microsoft"
ProviderName identifica a este proveedor en las rutas y en el almacen de estado. Un consumidor lo usa con auth.PathOAuthStart / PathOAuthCallback.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MicrosoftProvider ¶
func (*MicrosoftProvider) AuthCodeURL ¶
func (p *MicrosoftProvider) AuthCodeURL(state string) string
func (*MicrosoftProvider) ExchangeCode ¶
func (p *MicrosoftProvider) ExchangeCode(code string) (auth.OAuthToken, error)
func (*MicrosoftProvider) GetUserInfo ¶
func (p *MicrosoftProvider) GetUserInfo(token auth.OAuthToken) (auth.OAuthUserInfo, error)
func (*MicrosoftProvider) Name ¶
func (p *MicrosoftProvider) Name() string
Click to show internal directories.
Click to hide internal directories.