azuread

package
v0.0.0-...-0ac0b20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 9, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAzureADProvider

func NewAzureADProvider(config providers.OAuth2Config) providers.OAuth2Provider

Types

type Provider

type Provider struct {
	providers.OAuth2Provider
	// contains filtered or unexported fields
}

func (Provider) FetchUser

func (provider Provider) FetchUser(r *http.Request) (providers.UserInfo, error)

func (Provider) GetLoginURL

func (provider Provider) GetLoginURL(callbackURL string, state string) string

GetLoginURL returns OAuth 2 login endpoint used to redirect users

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL