Skip to content

Commit 4623166

Browse files
narqobradfitz
authored andcommitted
mailru: add Mail.Ru OAuth2 endpoint
Mail.Ru is one of the most popular email service provider in Russia. The documentation for Mail.Ru's OAuth2 endpoints is at https://o2.mail.ru/docs/ Change-Id: I605979b85cff2b00c7b65bbd3306d3fa66faa56d Reviewed-on: https://go-review.googlesource.com/84415 Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent dfbc866 commit 4623166

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

mailru/mailru.go

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// Copyright 2017 The Go Authors. All rights reserved.
2+
// Use of this source code is governed by a BSD-style
3+
// license that can be found in the LICENSE file.
4+
5+
// Package mailru provides constants for using OAuth2 to access Mail.Ru.
6+
package mailru // import "golang.org/x/oauth2/mailru"
7+
8+
import (
9+
"golang.org/x/oauth2"
10+
)
11+
12+
// Endpoint is Mail.Ru's OAuth 2.0 endpoint.
13+
var Endpoint = oauth2.Endpoint{
14+
AuthURL: "https://o2.mail.ru/login",
15+
TokenURL: "https://o2.mail.ru/token",
16+
}

0 commit comments

Comments
 (0)