Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultEndpoints = &Endpoints{
Authorize: "https://api.zenmoney.ru/oauth2/authorize/",
Token: "https://api.zenmoney.ru/oauth2/token/",
Redirect: "http://example.com",
}
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Auth ¶
type Auth struct { Application *Application Endpoints *Endpoints User *User }
func NewAuth ¶
func NewAuth(app *Application, user *User) *Auth
func (*Auth) GenerateAuthorizeUrl ¶
func (*Auth) GetAuthorizeCode ¶
type TokenResponse ¶
Click to show internal directories.
Click to hide internal directories.