Neos\Flow\Security\Authentication\Token\AbstractToken::getAuthenticationProviderName PHP Method

getAuthenticationProviderName() public method

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

Usage Example

コード例 #1
0
 /**
  * @test
  */
 public function authenticationProviderNameCanBeSetAndRetrieved()
 {
     $this->token->setAuthenticationProviderName('My Cool Provider');
     $this->assertEquals('My Cool Provider', $this->token->getAuthenticationProviderName());
 }