public static function isResourceOwnerSupported($resourceOwner)
    {
        $resourceOwner = strtolower($resourceOwner);
        if ('oauth1' === $resourceOwner || 'oauth2' === $resourceOwner) {
            return true;
        }

        if (\in_array($resourceOwner, static::$resourceOwners['oauth1'], true)) {
            return true;
        }

        return \in_array($resourceOwner, static::$resourceOwners['oauth2'], true);
    }
public static function isResourceOwnerSupported($resourceOwner)
    {
        $resourceOwner = strtolower($resourceOwner);
        if ('oauth1' === $resourceOwner || 'oauth2' === $resourceOwner) {
            return true;
        }

        if (\in_array($resourceOwner, static::$resourceOwners['oauth1'], true)) {
            return true;
        }

        return \in_array($resourceOwner, static::$resourceOwners['oauth2'], true);
    }
public static function isResourceOwnerSupported ( $ resourceOwner ) { $ resourceOwner = strtolower ( $ resourceOwner ) ; if ( 'oauth1' === $ resourceOwner || 'oauth2' === $ resourceOwner ) { return true ; } if ( \ in_array ( $ resourceOwner , static :: $ resourceOwners [ 'oauth1' ] , true ) ) { return true ; } return \ in_array ( $ resourceOwner , static :: $ resourceOwners [ 'oauth2' ] , true ) ; }
Checks that given resource owner is supported by this bundle.

@param string $resourceOwner

@return bool
Checks that given resource owner is supported by this bundle .