forked from Mirrors/oauth2
azure: add Azure endpoints
Fixes #257. Change-Id: I0fa087fd921256f03a0cd62a8ab559c5c63f4d0f Reviewed-on: https://go-review.googlesource.com/79397 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
3ea2187447
commit
e585185218
|
@ -0,0 +1,16 @@
|
|||
// Copyright 2017 The oauth2 Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
// Package azure provides constants for using OAuth2 to access Azure Active Directory (Azure AD).
|
||||
package azure
|
||||
|
||||
import (
|
||||
"golang.org/x/oauth2"
|
||||
)
|
||||
|
||||
// Endpoint is the Azure Active Directory (Azure AD) OAuth 2.0 endpoint.
|
||||
var Endpoint = oauth2.Endpoint{
|
||||
AuthURL: "https://login.microsoftonline.com/common/oauth2/v2.0/authorize",
|
||||
TokenURL: "https://login.microsoftonline.com/common/oauth2/v2.0/token",
|
||||
}
|
Loading…
Reference in New Issue