Свойство | Тип | Описание | |
---|---|---|---|
$assertionMap | array | Assertion map | |
$guards | array | Guards | |
$guestRole | string | Guest role (used when no identity is found) | |
$identityProvider | string | Key of the identity provider used to retrieve the identity | |
$protectionPolicy | string | Protection policy for guards (can be "deny" or "allow") | |
$redirectStrategy | Options for the redirect strategy | ||
$roleProvider | array | A configuration for role provider | |
$unauthorizedStrategy | Options for the unauthorized strategy |
Метод | Описание | |
---|---|---|
__construct ( $options = null ) | Constructor | |
getAssertionMap ( ) : array | Get the assertions options | |
getGuards ( ) : array | Get the guards options | |
getGuestRole ( ) : string | Get the guest role (used when no identity is found) | |
getIdentityProvider ( ) : string | Get the key of the identity provider used to retrieve the identity | |
getProtectionPolicy ( ) : string | Get the protection policy for guards | |
getRedirectStrategy ( ) : |
Get the redirect strategy options | |
getRoleProvider ( ) : array | Get the configuration for the role provider | |
getUnauthorizedStrategy ( ) : |
Get the unauthorized strategy options | |
setAssertionMap ( array $assertionMap ) : void | Set the assertions options | |
setGuards ( array $guards ) : void | Set the guards options | |
setGuestRole ( string $guestRole ) : void | Set the guest role (used when no identity is found) | |
setIdentityProvider ( string $identityProvider ) : void | Set the key of the identity provider used to retrieve the identity | |
setProtectionPolicy ( string $protectionPolicy ) : void | Set the protection policy for guards | |
setRedirectStrategy ( array $redirectStrategy ) | Set the redirect strategy options | |
setRoleProvider ( array $roleProvider ) | Set the configuration for the role provider | |
setUnauthorizedStrategy ( array $unauthorizedStrategy ) | Set the unauthorized strategy options |
public getAssertionMap ( ) : array | ||
Результат | array |
public getGuestRole ( ) : string | ||
Результат | string |
public getIdentityProvider ( ) : string | ||
Результат | string |
public getProtectionPolicy ( ) : string | ||
Результат | string |
public getRedirectStrategy ( ) : |
||
Результат |
public getRoleProvider ( ) : array | ||
Результат | array |
public getUnauthorizedStrategy ( ) : |
||
Результат |
public setAssertionMap ( array $assertionMap ) : void | ||
$assertionMap | array | |
Результат | void |
public setGuestRole ( string $guestRole ) : void | ||
$guestRole | string | |
Результат | void |
public setIdentityProvider ( string $identityProvider ) : void | ||
$identityProvider | string | |
Результат | void |
public setProtectionPolicy ( string $protectionPolicy ) : void | ||
$protectionPolicy | string | |
Результат | void |
public setRedirectStrategy ( array $redirectStrategy ) | ||
$redirectStrategy | array |
public setRoleProvider ( array $roleProvider ) | ||
$roleProvider | array |
public setUnauthorizedStrategy ( array $unauthorizedStrategy ) | ||
$unauthorizedStrategy | array |
protected string $guestRole | ||
Результат | string |
protected string $identityProvider | ||
Результат | string |
protected string $protectionPolicy | ||
Результат | string |
protected RedirectStrategyOptions,ZfcRbac\Options|null $redirectStrategy | ||
Результат |
protected array $roleProvider | ||
Результат | array |
protected UnauthorizedStrategyOptions,ZfcRbac\Options|null $unauthorizedStrategy | ||
Результат |