microsoft

package
v0.24.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2024 License: BSD-3-Clause Imports: 1 Imported by: 132

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

View Source
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

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL