package
0.0.0-20210609130350-9bc73c2c4317
Repository: https://github.com/lc-work/microsoft-authentication-library-for-go.git
Documentation: pkg.go.dev

# Functions

NewCodeChallengeRequest returns an AuthCodeRequest that uses a code challenge..
NewDeviceCodeResult creates a DeviceCodeResult instance.
NewRefreshToken is the constructor for RefreshToken.

# Constants

ATConfidential indicates this if for the Confidential.Client.
ATPublic indicates this if for the Public.Client.
ATUnknown is the zero value when the type hasn't been set.

# Structs

AuthCodeRequest stores the values required to request a token from the authority using an authorization code.
Client represents the REST calls to get tokens from token generator backends.
ClientInfo is used to create a Home Account ID for an account.
Credential represents the credential used in confidential client flows.
DeviceCodeResponse represents the HTTP response received from the device code endpoint.
DeviceCodeResult stores the response from the STS device code endpoint.
IDToken consists of all the information used to validate a user.
RefreshToken is the JSON representation of a MSAL refresh token for encoding to storage.
Scopes represents scopes in a TokenResponse.
TokenResponse is the information that is returned from a token endpoint during a token acquisition flow.

# Type aliases

AppType is whether the authorization code flow is for a public or confidential client.