-
Notifications
You must be signed in to change notification settings - Fork 0
/
compat.go
36 lines (24 loc) · 1.41 KB
/
compat.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package oauth2
import "golang.org/x/oauth2"
// AuthCodeOption is a type alias for https://pkg.go.dev/golang.org/x/oauth2#AuthCodeOption.
type AuthCodeOption = oauth2.AuthCodeOption
// AuthStyle is a type alias for https://pkg.go.dev/golang.org/x/oauth2#AuthStyle.
type AuthStyle = oauth2.AuthStyle
// Config is a type alias for https://pkg.go.dev/golang.org/x/oauth2#Config.
type Config = oauth2.Config
// Endpoint is a type alias for https://pkg.go.dev/golang.org/x/oauth2#Endpoint.
type Endpoint = oauth2.Endpoint
// RetrieveError is a type alias for https://pkg.go.dev/golang.org/x/oauth2#RetrieveError.
type RetrieveError = oauth2.RetrieveError
// Token is a type alias for https://pkg.go.dev/golang.org/x/oauth2#Token.
type Token = oauth2.Token
// TokenSource is a type alias for https://pkg.go.dev/golang.org/x/oauth2#TokenSource.
type TokenSource = oauth2.TokenSource
// Transport is a type alias for https://pkg.go.dev/golang.org/x/oauth2#Transport.
type Transport = oauth2.Transport
// SetAuthURLParam is a function alias for https://pkg.go.dev/golang.org/x/oauth2#SetAuthURLParam.
var SetAuthURLParam = oauth2.SetAuthURLParam
// ReuseTokenSource is a function alias for https://pkg.go.dev/golang.org/x/oauth2#ReuseTokenSource.
var ReuseTokenSource = oauth2.ReuseTokenSource
// StaticTokenSource is a function alias for https://pkg.go.dev/golang.org/x/oauth2#StaticTokenSource.
var StaticTokenSource = oauth2.StaticTokenSource