Documentation ¶
Index ¶
Constants ¶
View Source
const (
// StandaloneRedirectURL for Standalone applications
StandaloneRedirectURL = "urn:ietf:wg:oauth:2.0:oob"
)
Variables ¶
View Source
var ShikimoriEndpoint = oauth2.Endpoint{
AuthURL: "https://shikimori.org/oauth/authorize",
TokenURL: "https://shikimori.org/oauth/token",
}
ShikimoriEndpoint for Shikimori OAuth2
Functions ¶
func GetAuthCodeURL ¶
GetAuthCodeURL returns AuthCodeURL
func GetCodeByLogin ¶
GetCodeByLogin gets auth code by login + password. Application redirect url must be StandaloneRedirectURL (see endpoind.go).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.