CRM_OAuth_BAO_OAuthClient
extends CRM_OAuth_DAO_OAuthClient
in package
DAOs provide an OOP-style facade for reading and writing database records.
Tags
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'
$created_date
public
string
$created_date
$guid
public
string
$guid
$id
public
string
$id
$is_active
public
bool|string
$is_active
$modified_date
public
string
$modified_date
$options
public
string
$options
$provider
public
string
$provider
$secret
public
string
$secret
$tenant
public
string
$tenant
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