Method: ContextIO::OAuthProvider.all

Defined in:
lib/context-io/oauth_provider.rb

.allArray<ContextIO::OAuthProvider>

Get all OAuth providers configured

Returns:



21
22
23
# File 'lib/context-io/oauth_provider.rb', line 21

def self.all
  get('/2.0/oauth_providers').map { |provider| from_json(provider) }
end