DfpUser::GetDefaultOAuth2Handler PHP Method

GetDefaultOAuth2Handler() public method

Get the default OAuth2 Handler for this user.
public GetDefaultOAuth2Handler ( null | string $className = null ) : mixed
$className null | string the name of the oauth2Handler class or null
return mixed the configured OAuth2Handler class
    public function GetDefaultOAuth2Handler($className = null)
    {
        $className = !empty($className) ? $className : self::OAUTH2_HANDLER_CLASS;
        return new $className($this->GetScopes());
    }