DfpUser::GetDefaultOAuth2Handler PHP 메소드

GetDefaultOAuth2Handler() 공개 메소드

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
리턴 mixed the configured OAuth2Handler class
    public function GetDefaultOAuth2Handler($className = null)
    {
        $className = !empty($className) ? $className : self::OAUTH2_HANDLER_CLASS;
        return new $className($this->GetScopes());
    }