Property | Type | Description | |
---|---|---|---|
$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 |
Method | Description | |
---|---|---|
__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 | ||
return | array |
public getGuestRole ( ) : string | ||
return | string |
public getIdentityProvider ( ) : string | ||
return | string |
public getProtectionPolicy ( ) : string | ||
return | string |
public getRedirectStrategy ( ) : |
||
return |
public getRoleProvider ( ) : array | ||
return | array |
public getUnauthorizedStrategy ( ) : |
||
return |
public setAssertionMap ( array $assertionMap ) : void | ||
$assertionMap | array | |
return | void |
public setGuestRole ( string $guestRole ) : void | ||
$guestRole | string | |
return | void |
public setIdentityProvider ( string $identityProvider ) : void | ||
$identityProvider | string | |
return | void |
public setProtectionPolicy ( string $protectionPolicy ) : void | ||
$protectionPolicy | string | |
return | void |
public setRedirectStrategy ( array $redirectStrategy ) | ||
$redirectStrategy | array |
public setRoleProvider ( array $roleProvider ) | ||
$roleProvider | array |
public setUnauthorizedStrategy ( array $unauthorizedStrategy ) | ||
$unauthorizedStrategy | array |
protected string $guestRole | ||
return | string |
protected string $identityProvider | ||
return | string |
protected string $protectionPolicy | ||
return | string |
protected RedirectStrategyOptions,ZfcRbac\Options|null $redirectStrategy | ||
return |
protected array $roleProvider | ||
return | array |
protected UnauthorizedStrategyOptions,ZfcRbac\Options|null $unauthorizedStrategy | ||
return |