oauth2: golang.org/x/oauth2/microsoft Index | Files

package microsoft

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

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

Index

Package Files

microsoft.go

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.

func AzureADEndpoint Uses

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

Package microsoft imports 1 packages (graph) and is imported by 2 packages. Updated 2018-04-18. Refresh now. Tools for package owners.