From 191c6170f61863159ab7a68f381291353957f566 Mon Sep 17 00:00:00 2001 From: Vadim Grek Date: Mon, 18 Jan 2016 17:08:33 +0200 Subject: [PATCH] microsoft: add windows live endpoints Change-Id: I205dfb6c4d693929da799dcba40b3539c6302100 Reviewed-on: https://go-review.googlesource.com/18691 Reviewed-by: Brad Fitzpatrick --- microsoft/microsoft.go | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 microsoft/microsoft.go diff --git a/microsoft/microsoft.go b/microsoft/microsoft.go new file mode 100644 index 0000000..f21b398 --- /dev/null +++ b/microsoft/microsoft.go @@ -0,0 +1,16 @@ +// Copyright 2016 The Go 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 microsoft provides constants for using OAuth2 to access Windows Live ID. +package microsoft // import "golang.org/x/oauth2/microsoft" + +import ( + "golang.org/x/oauth2" +) + +// LiveConnectEndpoint is Windows's Live ID OAuth 2.0 endpoint. +var LiveConnectEndpoint = oauth2.Endpoint{ + AuthURL: "https://login.live.com/oauth20_authorize.srf", + TokenURL: "https://login.live.com/oauth20_token.srf", +}