Property | Type | Description | |
---|---|---|---|
$Form | Gdn_Form | ||
$UserModel | UserModel | ||
$UsernameError | Reusable username requirement error message. | ||
$Uses | Models to include. |
Property | Type | Description | |
---|---|---|---|
$_RealDeliveryType | Place to store DeliveryType. |
Method | Description | |
---|---|---|
__construct ( ) | Setup error message & override MasterView for popups. | |
auth ( string $AuthenticationSchemeAlias = 'default' ) | Authenticate the user attempting to sign in. | |
connect ( string $Method ) | SSO facilitator page. Plugins use event ConnectData to complete SSO connections. | |
emailConfirm ( integer $UserID, string $EmailKey = '' ) | Confirm email address is valid via sent code. | |
emailConfirmRequest ( integer $UserID = '' ) | Send email confirmation message to user. | |
handshake ( string $AuthenticationSchemeAlias = 'default' ) | Create secure handshake with remote authenticator. | |
index ( ) | Default to SignIn(). | |
initialize ( ) | Include JS and CSS used by all methods. | |
leave ( string $AuthenticationSchemeAlias = 'default', string $TransientKey = '' ) | Does actual de-authentication of a user. Used by SignOut(). | |
password ( ) | Auth via password. | |
passwordRequest ( ) | Request password reset. | |
passwordReset ( integer $UserID = '', string $PasswordResetKey = '' ) | Do password reset. | |
redirectTo ( ) : string | Go to requested Target() or the default controller if none was set. | |
register ( string $InvitationCode = '' ) | Calls the appropriate registration method based on the configuration setting. | |
registerInvitation ( integer $InvitationCode ) | Invitation-only registration. Requires code. | |
registerThanks ( ) | Display registration thank-you message | |
signIn ( string $Method = false, array $Arg1 = false ) : string | Signin process that multiple authentication methods. | |
signIn2 ( ) : void | Auth via default method. Simpler, old version of SignIn(). | |
signOut ( string $TransientKey = "", $Override = "0" ) | Good afternoon, good evening, and goodnight. | |
syncScreen ( object $Authenticator, array $UserInfo, array $Payload ) | Attempt to syncronize user data from remote system into Dashboard. | |
target ( string $Target = false ) : string | Set where to go after signin. |
Method | Description | |
---|---|---|
_registrationView ( ) : string | Alias of EntryController::getRegistrationHandler | |
_setRedirect ( boolean $CheckPopup = false ) | After sign in, send them along. | |
checkOverride ( string $Type, string $Target, string $TransientKey = null ) | Check the default provider to see if it overrides one of the entry methods and then redirect. | |
getRegistrationhandler ( ) : string | Select view/method to be used for registration (from config). |
Method | Description | |
---|---|---|
registerApproval ( ) | Registration that requires approval. | |
registerBasic ( ) | Captcha-authenticated registration. Used by default. | |
registerCaptcha ( ) | Captcha-authenticated registration. | |
registerClosed ( ) | Registration not allowed. | |
registerConnect ( ) | Connect registration |
public __construct ( ) |
protected _registrationView ( ) : string | ||
return | string |
protected _setRedirect ( boolean $CheckPopup = false ) | ||
$CheckPopup | boolean |
public emailConfirm ( integer $UserID, string $EmailKey = '' ) | ||
$UserID | integer | |
$EmailKey | string | Authenticate with unique, 1-time code sent via email. |
public emailConfirmRequest ( integer $UserID = '' ) | ||
$UserID | integer |
protected getRegistrationhandler ( ) : string | ||
return | string | Method name to invoke for registration |
public initialize ( ) |
public passwordReset ( integer $UserID = '', string $PasswordResetKey = '' ) | ||
$UserID | integer | Unique. |
$PasswordResetKey | string | Authenticate with unique, 1-time code sent via email. |
public redirectTo ( ) : string | ||
return | string | URL. |
public registerInvitation ( integer $InvitationCode ) | ||
$InvitationCode | integer |
public $UsernameError |