Documentation ¶
Index ¶
- type Oauth2Msft
- func (o *Oauth2Msft) CodeUrl(state string) string
- func (o *Oauth2Msft) CodeUrl2(state string) string
- func (o *Oauth2Msft) Exchange(code string) (*oauth2.Token, error)
- func (o *Oauth2Msft) Exchange2(code string) (*oauth2.Token, error)
- func (o *Oauth2Msft) Setup() error
- func (o *Oauth2Msft) UserInfo(oauth2Token *oauth2.Token) (*model.User, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Oauth2Msft ¶
type Oauth2Msft struct{}
Oauth2Msft in order to implement interface, struct is required
func (*Oauth2Msft) CodeUrl ¶
func (o *Oauth2Msft) CodeUrl(state string) string
CodeUrl get url to redirect client for auth
func (*Oauth2Msft) CodeUrl2 ¶
func (o *Oauth2Msft) CodeUrl2(state string) string
Click to show internal directories.
Click to hide internal directories.