[
'type' => 'Generic',
'client_id' => '...',
'client_secret' => '....',
'redirect_uri' => '....',
'authorize_url_options' => [
'scope' => '...',
],
'extra_provider_params' => [
'scopes' => '...',
'urlAuthorize' => '...',
'urlAccessToken' => '...',
],
'get_token_request_grant' => 'authorization_code', // optional
'get_token_request_options' => [], // optional
'refresh_token_request_grant' => 'refresh_token', // optional
'refresh_token_request_options' => [], // optional
'token_mapping' => [ // optional
'access_token' => '...',
'expires_in' => '...',
'refresh_token' => '...',
'token_type' => ''
]
]