Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoginError ¶
type LoginError struct {
// contains filtered or unexported fields
}
LoginError is thrown when something went wrong with the login request
func (*LoginError) Error ¶
func (e *LoginError) Error() string
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
Provider contains data about and manages the session with the Pokémon Trainer's Club
func NewProvider ¶
NewProvider constructs a Pokémon Trainer's Club auth provider instance
func (*Provider) GetAccessToken ¶
GetAccessToken will return an access token if it has been retrieved
func (*Provider) GetProviderString ¶
GetProviderString will return a string identifying the provider
Click to show internal directories.
Click to hide internal directories.