프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 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 UnauthorizedStrategyOptions,ZfcRbac\Options|null $unauthorizedStrategy | ||
리턴 |