Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TokenResponse ¶
type TokenResponse struct { }
TokenResponse implementation for None authentication
func RequestToken ¶
func RequestToken() (*TokenResponse, error)
RequestToken does pretty little here...
func (TokenResponse) AuthHeader ¶
func (tr TokenResponse) AuthHeader() string
AuthHeader returns contents of the Authorization HTTP header
func (TokenResponse) ExpiresIn ¶
func (tr TokenResponse) ExpiresIn() int
ExpiresIn is set to 0 for None authentication
Click to show internal directories.
Click to hide internal directories.