PHP 클래스 Neos\Flow\Security\Authentication\Provider\FileBasedSimpleKeyProvider

The passwords are stored as encrypted files in persisted data and are fetched using the file based simple key service. The roles set in authenticateRoles will be added to the authenticated token, but will not be persisted in the database as this provider is used for situations in which no database connection might be present. = Example = Neos: Flow: security: authentication: providers: AdminInterfaceProvider: provider: FileBasedSimpleKeyProvider providerOptions: keyName: AdminKey authenticateRoles: ['TYPO3.Flow.SomeRole']
상속: extends AbstractProvider
파일 보기 프로젝트 열기: neos/flow-development-collection 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$fileBasedSimpleKeyService Neos\Flow\Security\Cryptography\FileBasedSimpleKeyService
$hashService Neos\Flow\Security\Cryptography\HashService
$policyService Neos\Flow\Security\Policy\PolicyService

공개 메소드들

메소드 설명
authenticate ( Neos\Flow\Security\Authentication\TokenInterface $authenticationToken ) : void Sets isAuthenticated to TRUE for all tokens.
getTokenClassNames ( ) : array Returns the class names of the tokens this provider can authenticate.

메소드 상세

authenticate() 공개 메소드

Sets isAuthenticated to TRUE for all tokens.
public authenticate ( Neos\Flow\Security\Authentication\TokenInterface $authenticationToken ) : void
$authenticationToken Neos\Flow\Security\Authentication\TokenInterface The token to be authenticated
리턴 void

getTokenClassNames() 공개 메소드

Returns the class names of the tokens this provider can authenticate.
public getTokenClassNames ( ) : array
리턴 array

프로퍼티 상세

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

protected FileBasedSimpleKeyService,Neos\Flow\Security\Cryptography $fileBasedSimpleKeyService
리턴 Neos\Flow\Security\Cryptography\FileBasedSimpleKeyService

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

protected HashService,Neos\Flow\Security\Cryptography $hashService
리턴 Neos\Flow\Security\Cryptography\HashService

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

protected PolicyService,Neos\Flow\Security\Policy $policyService
리턴 Neos\Flow\Security\Policy\PolicyService