Neos\Flow\Security\Authentication\Token\AbstractToken::setAuthenticationProviderName PHP Метод

setAuthenticationProviderName() публичный Метод

Sets the name of the authentication provider responsible for this token
public setAuthenticationProviderName ( string $authenticationProviderName ) : void
$authenticationProviderName string The authentication provider name
Результат void
    public function setAuthenticationProviderName($authenticationProviderName)
    {
        $this->authenticationProviderName = $authenticationProviderName;
    }

Usage Example

 /**
  * @test
  */
 public function authenticationProviderNameCanBeSetAndRetrieved()
 {
     $this->token->setAuthenticationProviderName('My Cool Provider');
     $this->assertEquals('My Cool Provider', $this->token->getAuthenticationProviderName());
 }