Oauth2Connection::GetAuthorizeContext (open)
Prepare the data needed to start an authorization flow
Syntax
LOADLIB "mod::system/lib/webapi/oauth2.whlib";
RECORD FUNCTION GetAuthorizeContext(RECORD options)Parameters
RECORD optionsOptions
STRING access_type'offline' to request a refresh_token. defaults to 'online'
STRING code_verifierA PKCE code verifier to use for authorization
RECORD extraparametersAny extra parameters, eg [ prompt := "consent" ]
STRING ARRAY scopesRequested scopes
Return value
RECORDRecord with authorization flow info
Description
Like AuthorizeClient this function starts an authentication flow, but gathers data for eg Tollium to handle the actual flow