Neos\Flow\Security\Authentication\Token\AbstractToken::getAuthenticationProviderName PHP Méthode

getAuthenticationProviderName() public méthode

Returns the name of the authentication provider responsible for this token
public getAuthenticationProviderName ( ) : string
Résultat string The authentication provider name
    public function getAuthenticationProviderName()
    {
        return $this->authenticationProviderName;
    }

Usage Example

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