Path: / v310 / appliance / authProvider


Method Summary
ResourceDescription
GET /v310/appliance/authProviderReturns the current Identity Providers configurations. Used to create the authorize request to the IdP as part of the Authorization Code Grant workflow.
DELETE /v310/appliance/authProviderDelete the Auth Provider.
POST /v310/appliance/authProviderCreate the Authentication Provider which contains the OAuth 2 configurations used to SSO authenticate the user.
PUT /v310/appliance/authProviderUpdate the Auth Provider. All provided fields will be used to update the object.

Method Detail
HTTP Example:
GET /v310/appliance/authProvider

API Example:

ApplianceResource.getAuthProvider({});

Description:
Returns the current Identity Providers configurations. Used to create the authorize request to the IdP as part of the Authorization Code Grant workflow.
Since API version
v310.151
Tintri Api Server Support:
All
Output:
AuthProvider -
Produces:
application/json;qs=1, application/xml;qs=0.5
Consumes:
application/json;qs=1, application/xml;qs=0.5
HTTP Example:
DELETE /v310/appliance/authProvider

API Example:

ApplianceResource.deleteAuthProvider({});

Description:
Delete the Auth Provider.
Since API version
v310.151
Tintri Api Server Support:
All
Output:
void
Errors:
Error CodeMessageHTTP Response Code
ERR-API-8001Resource not found404
Produces:
application/json;qs=1, application/xml;qs=0.5
Consumes:
application/json;qs=1, application/xml;qs=0.5
HTTP Example:
POST /v310/appliance/authProvider

API Example:

ApplianceResource.setAuthProvider({'$entity': /* Create the Authentication Provider which contains the OAuth 2 configurations used to SSO authenticate the user. */});

Description:
Create the Authentication Provider which contains the OAuth 2 configurations used to SSO authenticate the user.
Since API version
v310.151
Tintri Api Server Support:
All
Input:
AuthProvider
Output:
AuthProvider -
Errors:
Error CodeMessageHTTP Response Code
ERR-API-6019Invalid argument422
ERR-API-0306Failed to create an AuthProvider500
Produces:
application/json;qs=1, application/xml;qs=0.5
Consumes:
application/json;qs=1, application/xml;qs=0.5
HTTP Example:
PUT /v310/appliance/authProvider

API Example:

ApplianceResource.updateAuthProvider({'$entity': /* Update the Auth Provider. */});

Description:
Update the Auth Provider. All provided fields will be used to update the object.
Since API version
v310.151
Tintri Api Server Support:
All
Input:
AuthProvider
Output:
AuthProvider -
Errors:
Error CodeMessageHTTP Response Code
ERR-API-6019Invalid argument422
ERR-API-0306Failed to create an AuthProvider500
Produces:
application/json;qs=1, application/xml;qs=0.5
Consumes:
application/json;qs=1, application/xml;qs=0.5