Méthode | Description | |
---|---|---|
addControl ( string $key, array $item ) | Add an element to the controls collection. Used to render settings forms. | |
allConnectButtons ( array $Options = [] ) : string | ||
authenticationProviderModel_calculateJsConnect_handler ( AuthenticationProviderModel $sender, array $args ) | Calculate the final sign in and register urls for jsConnect. | |
base_beforeSignInButton_handler ( Gdn_Controller $Sender, $Args ) | ||
base_beforeSignInLink_handler ( Gdn_Controller $Sender ) | ||
base_connectData_handler ( EntryController $Sender, array $Args ) | ||
base_getAppSettingsMenuItems_handler ( Gdn_Controller $Sender ) | ||
base_render_before ( Gdn_Controller $Sender, $Args ) | ||
connectButton ( $Provider, array $Options = [] ) : string | ||
connectUrl ( $Provider, boolean $Secure = false, boolean $Callback = true ) : boolean | string | ||
entryController_jsConnect_create ( EntryController $Sender, string $Action = '', string $Target = '' ) | An intermediate page for jsConnect that checks SSO against and then posts the information to /entry/connect. | |
entryController_signIn_handler ( Gdn_Controller $Sender, $Args ) | ||
getAllProviders ( ) : array | mixed | Convenience method for functional clarity. | |
getProvider ( null $client_id = null ) : array | mixed | ||
getRegisterUrl ( array | integer $provider, string | null $target = null ) : string | Gets the full sign in url with the jsConnect redirect added. | |
getSignInUrl ( arrat | integer $provider, string | null $target = null ) : string | Gets the full sign in url with the jsConnect redirect added. | |
profileController_jsConnect_create ( Gdn_Controller $Sender, array $Args = [] ) | ||
rootController_sso_handler ( RootController $Sender, $Args ) | ||
settingsController_jsConnect_create ( SettingsController $Sender, array $Args = [] ) | ||
settings_delete ( $Sender, $Args ) |
Méthode | Description | |
---|---|---|
connectQueryString ( $provider, null $target = null ) : array | ||
settings_addEdit ( SettingsController $sender, array $Args ) | ||
settings_index ( $Sender, $Args ) |
public addControl ( string $key, array $item ) | ||
$key | string | |
$item | array |
public static allConnectButtons ( array $Options = [] ) : string | ||
$Options | array | |
Résultat | string |
public authenticationProviderModel_calculateJsConnect_handler ( AuthenticationProviderModel $sender, array $args ) | ||
$sender | AuthenticationProviderModel | Not used. |
$args | array | Contains the provider and |
public base_beforeSignInButton_handler ( Gdn_Controller $Sender, $Args ) | ||
$Sender | Gdn_Controller | |
$Args |
public base_beforeSignInLink_handler ( Gdn_Controller $Sender ) | ||
$Sender | Gdn_Controller |
public base_connectData_handler ( EntryController $Sender, array $Args ) | ||
$Sender | EntryController | |
$Args | array |
public base_getAppSettingsMenuItems_handler ( Gdn_Controller $Sender ) | ||
$Sender | Gdn_Controller |
public base_render_before ( Gdn_Controller $Sender, $Args ) | ||
$Sender | Gdn_Controller | |
$Args |
public static connectButton ( $Provider, array $Options = [] ) : string | ||
$Provider | ||
$Options | array | |
Résultat | string |
protected static connectQueryString ( $provider, null $target = null ) : array | ||
$provider | ||
$target | null | |
Résultat | array |
public entryController_jsConnect_create ( EntryController $Sender, string $Action = '', string $Target = '' ) | ||
$Sender | EntryController | |
$Action | string | A specific action. It can be one of the following: - blank: The default action. - guest: There is no user signed in. - |
$Target | string | The url to redirect to after a successful connect. |
public entryController_signIn_handler ( Gdn_Controller $Sender, $Args ) | ||
$Sender | Gdn_Controller |
public static getAllProviders ( ) : array | mixed | ||
Résultat | array | mixed |
public profileController_jsConnect_create ( Gdn_Controller $Sender, array $Args = [] ) | ||
$Sender | Gdn_Controller | |
$Args | array |
public rootController_sso_handler ( RootController $Sender, $Args ) | ||
$Sender | RootController | |
$Args |
public settingsController_jsConnect_create ( SettingsController $Sender, array $Args = [] ) | ||
$Sender | SettingsController | |
$Args | array |
protected settings_addEdit ( SettingsController $sender, array $Args ) | ||
$sender | SettingsController | |
$Args | array |