Documentation
¶
Index ¶
Constants ¶
View Source
const ( // IP is the ip of this machine that will be called back in the browser. It may not be a hostname. // If IP is not 127.0.0.1 DEVICE_NAME must be set. It can be any short string. IP = "127.0.0.1" DEVICE_NAME = "" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthenticateUserOption ¶
type AuthenticateUserOption func(*AuthenticateUserFuncConfig) error
func WithAuthCallHTTPParams ¶
func WithAuthCallHTTPParams(values url.Values) AuthenticateUserOption
type AuthorizedClient ¶
func Initiate ¶
func Initiate(APPKEY, SECRET string) *AuthorizedClient
Initiate an *AuthorizedClient with a given APPKEY, SECRET TODO: Include the user's given callback URL, as if someone wants to host off-prem they should be able to TODO: Investigate the previous statement, localhost might work for any implementation?
Click to show internal directories.
Click to hide internal directories.