Documentation ¶
Index ¶
Constants ¶
View Source
const ( UNITED_KINGDOM = "gb" UNITED_KINGDOM_TWO = "gb2" FRANCE = "fr" GERMANY = "de" GERMANY_TWO = "de2" UNITED_STATES_OF_AMERICA = "us" UNITED_STATES_OF_AMERICA_TWO = "us2" UNITED_STATES_OF_AMERICA_THREE = "us3" UNITED_STATES_OF_AMERICA_FOUR = "us4" UNITED_STATES_OF_AMERICA_FIVE = "us5" DEMO = "demo" )
Country constants
View Source
const ( AGE_ESTIMATION = "AgeEstimation" CREDIT_CARD = "CreditCard" ID_SCAN = "IDScan" ID_SCAN_FACE_MATCH = "IDScanFaceMatch" EMAIL = "Email" )
Method constants
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OAuth ¶
type OAuth struct { Scope string // contains filtered or unexported fields }
OAuth struct to hold OAuth specific details
func (*OAuth) ExchangeCodeByToken ¶
ExchangeCodeByToken exchanges the provided code for an access token
func (*OAuth) RedirectURL ¶
RedirectURL generates the URL to redirect the user for authorization
func (*OAuth) UseSandbox ¶
func (o *OAuth) UseSandbox()
UseSandbox configures the provider to use the sandbox environment
Click to show internal directories.
Click to hide internal directories.