Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Debug bool
Debug - Enables debug output
Functions ¶
func GetSignInURL ¶
func GetSignInURL(creds *credentials.Value) (string, error)
GetSignInURL - Returns the sign-in URL as a string.
Types ¶
type SignInToken ¶
type SignInToken struct {
Token string `json:"SigninToken"`
}
SignInToken - The payload that's returned from the token request endpoint.
func GetSignInToken ¶
func GetSignInToken(creds *credentials.Value) (*SignInToken, error)
GetSignInToken - Sends the initial request to retrieve the sign-in token.
type URLCredentials ¶
type URLCredentials struct { SessionID string `json:"sessionId"` SessionKey string `json:"sessionKey"` SessionToken string `json:"sessionToken"` }
URLCredentials - The data structure that is embedded into the URL in the Session query parameter.
Click to show internal directories.
Click to hide internal directories.