💾 Archived View for godocs.io › golang.org › x › oauth2 › microsoft captured on 2024-08-19 at 05:47:27. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-05-26)

🚧 View Differences

-=-=-=-=-=-=-

package microsoft - golang.org/x/oauth2/microsoft - godocs.io

import "golang.org/x/oauth2/microsoft"

Package microsoft provides constants for using OAuth2 to access Windows Live ID.

Variables

var LiveConnectEndpoint = oauth2.Endpoint{
	AuthURL:  "https://login.live.com/oauth20_authorize.srf",
	TokenURL: "https://login.live.com/oauth20_token.srf",
}

LiveConnectEndpoint is Windows's Live ID OAuth 2.0 endpoint.

Functions

func AzureADEndpoint

func AzureADEndpoint(tenant string) oauth2.Endpoint

AzureADEndpoint returns a new oauth2.Endpoint for the given tenant at Azure Active Directory. If tenant is empty, it uses the tenant called `common`.

For more information see: https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-v2-protocols#endpoints

Details

Version: v0.22.0 (latest)

Platform: linux/amd64

Imports: 1 packages

Refresh now

Back to home

Search