public function validateUris(array $uris)
    {
        $requiredParams = [
            'temporary_credentials_uri',
            'authorization_uri',
            'token_credentials_uri',
        ];

        foreach ($requiredParams as $param) {
            if (! isset($uris[$param])) {
                throw new InvalidArgumentException("Missing URI configuration: {$param}.");
            }
        }

        return true;
    }
public function validateUris(array $uris)
    {
        $requiredParams = [
            'temporary_credentials_uri',
            'authorization_uri',
            'token_credentials_uri',
        ];

        foreach ($requiredParams as $param) {
            if (! isset($uris[$param])) {
                throw new InvalidArgumentException("Missing URI configuration: {$param}.");
            }
        }

        return true;
    }
public function validateUris ( array $ uris ) { $ requiredParams = [ 'temporary_credentials_uri' , 'authorization_uri' , 'token_credentials_uri' , ] ; foreach ( $ requiredParams as $ param ) { if ( ! isset ( $ uris [ $ param ] ) ) { throw new InvalidArgumentException ( "Missing URI configuration: {$param}." ) ; } } return true ; }
Validate the given URI array.

@param array $uris

@return bool

@throws \InvalidArgumentException
Validate the given URI array .