Next BP 24.150.1

OAuth2_RDStation extends AbstractProvider
in package
Uses BearerAuthorizationTrait

Table of Contents

Methods

getBaseAccessTokenUrl()  : string
Get access token url to retrieve token
getBaseAuthorizationUrl()  : string
Get authorization url to begin OAuth flow
getResourceOwnerDetailsUrl()  : string
Get provider url to fetch user details
checkResponse()  : void
Check a provider response for errors.
createResourceOwner()  : OAuth2_RDStationOwner
Generate a user object from a successful user details request.
getDefaultScopes()  : array<string|int, mixed>
Get the default scopes used by this provider.

Methods

getBaseAccessTokenUrl()

Get access token url to retrieve token

public getBaseAccessTokenUrl(array<string|int, mixed> $params) : string
Parameters
$params : array<string|int, mixed>
Return values
string

getBaseAuthorizationUrl()

Get authorization url to begin OAuth flow

public getBaseAuthorizationUrl() : string
Return values
string

getResourceOwnerDetailsUrl()

Get provider url to fetch user details

public getResourceOwnerDetailsUrl(AccessToken $token) : string
Parameters
$token : AccessToken
Return values
string

checkResponse()

Check a provider response for errors.

protected checkResponse(ResponseInterface $response, array<string|int, mixed> $data) : void
Parameters
$response : ResponseInterface
$data : array<string|int, mixed>

Parsed response data

Tags
throws
IdentityProviderException

getDefaultScopes()

Get the default scopes used by this provider.

protected getDefaultScopes() : array<string|int, mixed>

This should not be a complete list of all scopes, but the minimum required for the provider user interface!

Return values
array<string|int, mixed>

        
On this page

Search results