Documentation
¶
Overview ¶
package exported contains internal types that are re-exported from a public package
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssertionRequestOptions ¶
type AssertionRequestOptions struct {
// ClientID identifies the application for which an assertion is requested. Used as the assertion's "iss" and "sub" claims.
ClientID string
// TokenEndpoint is the intended token endpoint. Used as the assertion's "aud" claim.
TokenEndpoint string
}
AssertionRequestOptions has information required to generate a client assertion
type TokenProviderParameters ¶ added in v0.7.0
type TokenProviderParameters struct {
// Claims contains any additional claims requested for the token
Claims string
// CorrelationID of the authentication request
CorrelationID string
// Scopes requested for the token
Scopes []string
// TenantID identifies the tenant in which to authenticate
TenantID string
}
TokenProviderParameters is the authentication parameters passed to token providers
type TokenProviderResult ¶ added in v0.7.0
type TokenProviderResult struct {
// AccessToken is the requested token
AccessToken string
// ExpiresInSeconds is the lifetime of the token in seconds
ExpiresInSeconds int
// RefreshInSeconds indicates the suggested time to refresh the token, if any
RefreshInSeconds int
}
TokenProviderResult is the authentication result returned by custom token providers
Click to show internal directories.
Click to hide internal directories.