PHP 클래스 ZfcRbac\Options\RedirectStrategyOptions

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

보호된 프로퍼티들

프로퍼티 타입 설명
$appendPreviousUri boolean Should the previous URI should be appended as a query param?
$previousUriQueryKey string If appendPreviousUri is enabled, key to use in query params that hold the previous URI
$redirectToRouteConnected string The name of the route to redirect when a user is connected and not authorized
$redirectToRouteDisconnected string The name of the route to redirect when a user is disconnected and not authorized
$redirectWhenConnected boolean Should the user be redirected when connected and not authorized

공개 메소드들

메소드 설명
getAppendPreviousUri ( ) : boolean
getPreviousUriQueryKey ( ) : string
getRedirectToRouteConnected ( ) : string
getRedirectToRouteDisconnected ( ) : string
getRedirectWhenConnected ( ) : boolean
setAppendPreviousUri ( boolean $appendPreviousUri )
setPreviousUriQueryKey ( string $previousUriQueryKey )
setRedirectToRouteConnected ( string $redirectToRouteConnected ) : void
setRedirectToRouteDisconnected ( string $redirectToRouteDisconnected ) : void
setRedirectWhenConnected ( boolean $redirectWhenConnected ) : void

메소드 상세

getAppendPreviousUri() 공개 메소드

public getAppendPreviousUri ( ) : boolean
리턴 boolean

getPreviousUriQueryKey() 공개 메소드

public getPreviousUriQueryKey ( ) : string
리턴 string

getRedirectToRouteConnected() 공개 메소드

getRedirectToRouteDisconnected() 공개 메소드

getRedirectWhenConnected() 공개 메소드

setAppendPreviousUri() 공개 메소드

public setAppendPreviousUri ( boolean $appendPreviousUri )
$appendPreviousUri boolean

setPreviousUriQueryKey() 공개 메소드

public setPreviousUriQueryKey ( string $previousUriQueryKey )
$previousUriQueryKey string

setRedirectToRouteConnected() 공개 메소드

public setRedirectToRouteConnected ( string $redirectToRouteConnected ) : void
$redirectToRouteConnected string
리턴 void

setRedirectToRouteDisconnected() 공개 메소드

public setRedirectToRouteDisconnected ( string $redirectToRouteDisconnected ) : void
$redirectToRouteDisconnected string
리턴 void

setRedirectWhenConnected() 공개 메소드

public setRedirectWhenConnected ( boolean $redirectWhenConnected ) : void
$redirectWhenConnected boolean
리턴 void

프로퍼티 상세

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

Should the previous URI should be appended as a query param?
protected bool $appendPreviousUri
리턴 boolean

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

If appendPreviousUri is enabled, key to use in query params that hold the previous URI
protected string $previousUriQueryKey
리턴 string

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

The name of the route to redirect when a user is connected and not authorized
protected string $redirectToRouteConnected
리턴 string

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

The name of the route to redirect when a user is disconnected and not authorized
protected string $redirectToRouteDisconnected
리턴 string

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

Should the user be redirected when connected and not authorized
protected bool $redirectWhenConnected
리턴 boolean