Class: PlatformAPI::IdentityProvider
- Inherits:
-
Object
- Object
- PlatformAPI::IdentityProvider
- Defined in:
- lib/platform-api/client.rb
Overview
Identity Providers represent the SAML configuration of an Team.
Instance Method Summary collapse
-
#create_by_team(team_name, body = {}) ⇒ Object
Create an Identity Provider for a team.
-
#delete_by_team(team_name, identity_provider_id) ⇒ Object
Delete a team's Identity Provider.
-
#initialize(client) ⇒ IdentityProvider
constructor
A new instance of IdentityProvider.
-
#list_by_team(team_name) ⇒ Object
Get a list of a team's Identity Providers.
-
#update_by_team(team_name, identity_provider_id, body = {}) ⇒ Object
Update a team's Identity Provider.
Constructor Details
#initialize(client) ⇒ IdentityProvider
Returns a new instance of IdentityProvider.
1900 1901 1902 |
# File 'lib/platform-api/client.rb', line 1900 def initialize(client) @client = client end |
Instance Method Details
#create_by_team(team_name, body = {}) ⇒ Object
Create an Identity Provider for a team
1915 1916 1917 |
# File 'lib/platform-api/client.rb', line 1915 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
Delete a team's Identity Provider
1932 1933 1934 |
# File 'lib/platform-api/client.rb', line 1932 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
Get a list of a team's Identity Providers
1907 1908 1909 |
# File 'lib/platform-api/client.rb', line 1907 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
Update a team's Identity Provider
1924 1925 1926 |
# File 'lib/platform-api/client.rb', line 1924 def update_by_team(team_name, identity_provider_id, body = {}) @client.identity_provider.update_by_team(team_name, identity_provider_id, body) end |