PHP 클래스 Neos\Flow\Security\AccountFactory

파일 보기 프로젝트 열기: neos/flow-development-collection 1 사용 예제들

보호된 프로퍼티들

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

공개 메소드들

메소드 설명
createAccountWithPassword ( string $identifier, string $password, array $roleIdentifiers = [], string $authenticationProviderName = 'DefaultProvider', string $passwordHashingStrategy = 'default' ) : Account Creates a new account and sets the given password and roles

메소드 상세

createAccountWithPassword() 공개 메소드

Creates a new account and sets the given password and roles
public createAccountWithPassword ( string $identifier, string $password, array $roleIdentifiers = [], string $authenticationProviderName = 'DefaultProvider', string $passwordHashingStrategy = 'default' ) : Account
$identifier string Identifier of the account, must be unique
$password string The clear text password
$roleIdentifiers array Optionally an array of role identifiers to assign to the new account
$authenticationProviderName string Optional name of the authentication provider the account is affiliated with
$passwordHashingStrategy string Optional password hashing strategy to use for the password
리턴 Account A new account, not yet added to the account repository

프로퍼티 상세

$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