AuthApi
All URIs are relative to https://connectors.namirialtsp.com
Method | HTTP request | Description |
---|---|---|
authAuthorizeGet | GET /auth/authorize | Starts an authorization code flow |
authTokenPost | POST /auth/token | Returns a JWT bearer token |
authAuthorizeGet
authAuthorizeGet(clientId, redirectUri, state)
Starts an authorization code flow
Parameters
Name | Type | Description | Notes |
---|---|---|---|
clientId | UUID | Client identifier. Its the application that needs to authenticate a user in eSAW | [default to null] |
redirectUri | String | Uri to be redirected after eSAW successfull credentials validation | [default to null] |
state | String | Parameter used to pass values during authentication redirect flow | [optional] [default to null] |
Return type
null (empty response body)
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: Not defined
authTokenPost
JWTBearerResponse authTokenPost(grantType, redirectUri, code)
Returns a JWT bearer token
Parameters
Name | Type | Description | Notes |
---|---|---|---|
grantType | String | OAuth2 authentication grant type (authorization_code, client_credentials) | [default to null] |
redirectUri | String | Redirect Uri. It has to be equal to the one specified at the beginning of the authentication flow | [default to null] |
code | String | Authorization code returned from authorize | [default to null] |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json