Webiny\Component\OAuth2\OAuth2::getAccessTokenName PHP Method

getAccessTokenName() public method

Returns the name of access token param. Its usually either 'access_token' or 'token' based on the OAuth2 server.
public getAccessTokenName ( ) : string
return string
    public function getAccessTokenName()
    {
        return $this->instance->getAccessTokenName();
    }