class OAuthClientAction

Class xaction_webservice_oauth_client

Properties

WebserviceController $mod

Methods

authorize()

Process Authorization flows for oauth_clients

array
decodeState(string $state)

Parsing the state which keeps on end the modulename and hookname necessary to identifier

string
encodeState(string $context, string $hook_name, string|null $redirect_url = null)

No description

Details

at line 28
authorize()

Process Authorization flows for oauth_clients

at line 99
array decodeState(string $state)

Parsing the state which keeps on end the modulename and hookname necessary to identifier

Parameters

string $state

Base64 encoded state

Return Value

array

[ 'user_id'=>1, 'context'=>$instance, 'hook'=>$hook, 'secure_token'=>$token, 'time'=>$time, 'redirect_url'=>$redirectURI ]

at line 68
string encodeState(string $context, string $hook_name, string|null $redirect_url = null)

No description

Parameters

string $context
string $hook_name
string|null $redirect_url

Return Value

string

Base64 encoded state param