Documentation

CRM_OAuth_BAO_OAuthClient extends CRM_OAuth_DAO_OAuthClient
in package

DAOs provide an OOP-style facade for reading and writing database records.

Tags
copyright

CiviCRM LLC https://civicrm.org/licensing

Table of Contents

Properties

$_tableName  : string
Required by older versions of CiviCRM (<5.74).
$created_date  : string
$guid  : string
$id  : string
$is_active  : bool|string
$modified_date  : string
$options  : string
$provider  : string
$secret  : string
$tenant  : string

Methods

getProviders()  : array<string|int, mixed>
getRedirectUri()  : string
Determine the "redirect_uri". When using authorization-code flow, the OAuth2 provider will redirect back to our "redirect_uri".

Properties

$_tableName

Required by older versions of CiviCRM (<5.74).

public static string $_tableName = 'civicrm_oauth_client'

Methods

getProviders()

public static getProviders() : array<string|int, mixed>
Return values
array<string|int, mixed>

~~Ex: ['my_provider' => 'My Provider']~~ Ex: ['my_provider' => 'my_provider']

getRedirectUri()

Determine the "redirect_uri". When using authorization-code flow, the OAuth2 provider will redirect back to our "redirect_uri".

public static getRedirectUri() : string
Return values
string

        
On this page

Search results