PHP 클래스 ZfcRbac\Options\ModuleOptions

저자: Michaël Gallego ([email protected])
상속: extends Zend\Stdlib\AbstractOptions
파일 보기 프로젝트 열기: zf-commons/zfc-rbac 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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 RedirectStrategyOptions | null Options for the redirect strategy
$roleProvider array A configuration for role provider
$unauthorizedStrategy UnauthorizedStrategyOptions | null 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 ( ) : RedirectStrategyOptions Get the redirect strategy options
getRoleProvider ( ) : array Get the configuration for the role provider
getUnauthorizedStrategy ( ) : UnauthorizedStrategyOptions 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

메소드 상세

__construct() 공개 메소드

{@inheritDoc}
public __construct ( $options = null )

getAssertionMap() 공개 메소드

Get the assertions options
public getAssertionMap ( ) : array
리턴 array

getGuards() 공개 메소드

Get the guards options
public getGuards ( ) : array
리턴 array

getGuestRole() 공개 메소드

Get the guest role (used when no identity is found)
public getGuestRole ( ) : string
리턴 string

getIdentityProvider() 공개 메소드

Get the key of the identity provider used to retrieve the identity
public getIdentityProvider ( ) : string
리턴 string

getProtectionPolicy() 공개 메소드

Get the protection policy for guards
public getProtectionPolicy ( ) : string
리턴 string

getRedirectStrategy() 공개 메소드

Get the redirect strategy options
public getRedirectStrategy ( ) : RedirectStrategyOptions
리턴 RedirectStrategyOptions

getRoleProvider() 공개 메소드

Get the configuration for the role provider
public getRoleProvider ( ) : array
리턴 array

getUnauthorizedStrategy() 공개 메소드

Get the unauthorized strategy options
public getUnauthorizedStrategy ( ) : UnauthorizedStrategyOptions
리턴 UnauthorizedStrategyOptions

setAssertionMap() 공개 메소드

Set the assertions options
public setAssertionMap ( array $assertionMap ) : void
$assertionMap array
리턴 void

setGuards() 공개 메소드

Set the guards options
public setGuards ( array $guards ) : void
$guards array
리턴 void

setGuestRole() 공개 메소드

Set the guest role (used when no identity is found)
public setGuestRole ( string $guestRole ) : void
$guestRole string
리턴 void

setIdentityProvider() 공개 메소드

Set the key of the identity provider used to retrieve the identity
public setIdentityProvider ( string $identityProvider ) : void
$identityProvider string
리턴 void

setProtectionPolicy() 공개 메소드

Set the protection policy for guards
public setProtectionPolicy ( string $protectionPolicy ) : void
$protectionPolicy string
리턴 void

setRedirectStrategy() 공개 메소드

Set the redirect strategy options
public setRedirectStrategy ( array $redirectStrategy )
$redirectStrategy array

setRoleProvider() 공개 메소드

Set the configuration for the role provider
public setRoleProvider ( array $roleProvider )
$roleProvider array

setUnauthorizedStrategy() 공개 메소드

Set the unauthorized strategy options
public setUnauthorizedStrategy ( array $unauthorizedStrategy )
$unauthorizedStrategy array

프로퍼티 상세

$assertionMap 보호되어 있는 프로퍼티

Assertion map
protected array $assertionMap
리턴 array

$guards 보호되어 있는 프로퍼티

Guards
protected array $guards
리턴 array

$guestRole 보호되어 있는 프로퍼티

Guest role (used when no identity is found)
protected string $guestRole
리턴 string

$identityProvider 보호되어 있는 프로퍼티

Key of the identity provider used to retrieve the identity
protected string $identityProvider
리턴 string

$protectionPolicy 보호되어 있는 프로퍼티

Protection policy for guards (can be "deny" or "allow")
protected string $protectionPolicy
리턴 string

$redirectStrategy 보호되어 있는 프로퍼티

Options for the redirect strategy
protected RedirectStrategyOptions,ZfcRbac\Options|null $redirectStrategy
리턴 RedirectStrategyOptions | null

$roleProvider 보호되어 있는 프로퍼티

A configuration for role provider
protected array $roleProvider
리턴 array

$unauthorizedStrategy 보호되어 있는 프로퍼티

Options for the unauthorized strategy
protected UnauthorizedStrategyOptions,ZfcRbac\Options|null $unauthorizedStrategy
리턴 UnauthorizedStrategyOptions | null