Свойство | Type | Description | |
---|---|---|---|
$acct |
Méthode | Description | |
---|---|---|
airshipLand ( ) | This function is called after the dependencies have been injected by AutoPilot. Think of it as a user-land constructor. | |
board ( ) | Process the /board API endpoint. | |
login ( ) | Handle login requests | |
logout ( string $token ) | CSRF-resistant logout script | |
my ( ) | ||
myIndex ( ) | ||
preferences ( ) | Allows users to select which Motif to use | |
publicDirectory ( string $page = '' ) | A directory of public users | |
recoverAccount ( string $token = '' ) | ||
twoFactorSetup ( ) | ||
twoFactorSetupQRCode ( ) | Returns the user's QR code. |
Méthode | Description | |
---|---|---|
findMotif ( array $motifs, string $supplier, string $motifName ) : boolean | Is this motif part of this cabin? | |
getGPGPublicKey ( string $fingerprint ) : string | Return the public key corresponding to a fingerprint | |
getOffsetAndLimit ( string $page = null, integer $per_page ) : int[] | Gets [offset, limit] based on configuration | |
processAccountUpdate ( array $post = [], array $account = [], string $gpg_public_key = '' ) | Process a user account update | |
processBoard ( array $post = [] ) | Process a user account registration request | |
processLogin ( array $post = [] ) | Handle user authentication | |
processRecoverAccount ( array $post ) : boolean | Process account recovery | |
processRecoveryToken ( string $token ) | If the token is valid, log in as the user. | |
recoveryMessage ( string $token ) : string | ||
savePreferences ( array $prefs = [], array $cabins = [], array $motifs = [] ) : boolean | Save a user's preferences | |
twoFactorPreamble ( integer $userID ) : ParagonIE\MultiFactor\Vendor\GoogleAuth | Make sure the secret exists, then get the GoogleAuth object |
public airshipLand ( ) |
protected getGPGPublicKey ( string $fingerprint ) : string | ||
$fingerprint | string | |
Résultat | string |
protected getOffsetAndLimit ( string $page = null, integer $per_page ) : int[] | ||
$page | string | |
$per_page | integer | |
Résultat | int[] |
protected processBoard ( array $post = [] ) | ||
$post | array |
protected processLogin ( array $post = [] ) | ||
$post | array |
protected processRecoverAccount ( array $post ) : boolean | ||
$post | array | |
Résultat | boolean |
protected processRecoveryToken ( string $token ) | ||
$token | string |
public publicDirectory ( string $page = '' ) | ||
$page | string |
protected recoveryMessage ( string $token ) : string | ||
$token | string | |
Résultat | string |
protected twoFactorPreamble ( integer $userID ) : ParagonIE\MultiFactor\Vendor\GoogleAuth | ||
$userID | integer | |
Résultat | ParagonIE\MultiFactor\Vendor\GoogleAuth |