Class: PlatformAPI::IdentityProvider
- Inherits:
-
Object
- Object
- PlatformAPI::IdentityProvider
- Defined in:
- lib/platform-api/client.rb
Overview
Identity Providers represent the SAML configuration of teams or an Enterprise account
Instance Method Summary collapse
- #create_by_team(team_name, body = {}) ⇒ Object
- #delete_by_team(team_name, identity_provider_id) ⇒ Object
-
#initialize(client) ⇒ IdentityProvider
constructor
A new instance of IdentityProvider.
- #list_by_team(team_name) ⇒ Object
- #update_by_team(team_name, identity_provider_id, body = {}) ⇒ Object
Constructor Details
#initialize(client) ⇒ IdentityProvider
Returns a new instance of IdentityProvider.
2868 2869 2870 |
# File 'lib/platform-api/client.rb', line 2868 def initialize(client) @client = client end |
Instance Method Details
#create_by_team(team_name, body = {}) ⇒ Object
2894 2895 2896 |
# File 'lib/platform-api/client.rb', line 2894 def create_by_team(team_name, body = {}) @client.identity_provider.create_by_team(team_name, body) end |
#delete_by_team(team_name, identity_provider_id) ⇒ Object
2924 2925 2926 |
# File 'lib/platform-api/client.rb', line 2924 def delete_by_team(team_name, identity_provider_id) @client.identity_provider.delete_by_team(team_name, identity_provider_id) end |
#list_by_team(team_name) ⇒ Object
2880 2881 2882 |
# File 'lib/platform-api/client.rb', line 2880 def list_by_team(team_name) @client.identity_provider.list_by_team(team_name) end |
#update_by_team(team_name, identity_provider_id, body = {}) ⇒ Object
2910 2911 2912 |
# File 'lib/platform-api/client.rb', line 2910 def update_by_team(team_name, identity_provider_id, body = {}) @client.identity_provider.update_by_team(team_name, identity_provider_id, body) end |