package
0.0.0-20241009004650-84ea22048b9a
Repository: https://github.com/azure/azure-dev.git
Documentation: pkg.go.dev
# Functions
EnsureLoggedInCredential uses the credential's GetToken method to ensure an access token can be fetched.
GetClaimsFromAccessToken extracts claims from an access token.
GetOidFromAccessToken extracts a string claim with the name "oid" from an access token.
No description provided by the author
LoginScopes returns the scopes that we request an access token for when checking if a user is signed in.
No description provided by the author
NewLoggedInGuard checks if the user is logged in.
No description provided by the author
No description provided by the author
# Variables
ErrNoCurrentUser indicates that the current user is not logged in.
# Structs
An error response from Azure Active Directory.
AuthFailedError indicates an authentication request has failed.
No description provided by the author
No description provided by the author
No description provided by the author
LoggedInGuard doesn't hold anything.
LoginInteractiveOptions holds the optional inputs for interactive login.
Manager manages the authentication system of azd.
ReLoginRequiredError indicates that the logged in user needs to perform a log in to reauthenticate.
RemoteCredential implements azcore.TokenCredential by using the remote credential protocol.
TokenClaims contains claims about a user from an access token.
No description provided by the author
# Interfaces
No description provided by the author
HttpClient interface as required by MSAL library.
MultiTenantCredentialProvider provides token credentials for different tenants.
# Type aliases
No description provided by the author
WithOpenUrl defines a custom strategy for browsing to the url.