Class Class00AuthenticationApi
java.lang.Object
net.finmath.smartbonds.pontes.api.Class00AuthenticationApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.24.0")
public class Class00AuthenticationApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionretrieveAccessToken(String ncb, String clientId, String grantType) Authenticate & Retrieve JWT Access Token ## Description Retrieves a JWT access token through mTLS authentication.org.springframework.http.ResponseEntity<AuthResponse> retrieveAccessTokenWithHttpInfo(String ncb, String clientId, String grantType) Authenticate & Retrieve JWT Access Token ## Description Retrieves a JWT access token through mTLS authentication.org.springframework.web.client.RestClient.ResponseSpecretrieveAccessTokenWithResponseSpec(String ncb, String clientId, String grantType) Authenticate & Retrieve JWT Access Token ## Description Retrieves a JWT access token through mTLS authentication.voidsetApiClient(ApiClient apiClient)
-
Constructor Details
-
Class00AuthenticationApi
public Class00AuthenticationApi() -
Class00AuthenticationApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
retrieveAccessToken
public AuthResponse retrieveAccessToken(@Nonnull String ncb, @Nonnull String clientId, @Nonnull String grantType) throws org.springframework.web.client.RestClientResponseException Authenticate & Retrieve JWT Access Token ## Description Retrieves a JWT access token through mTLS authentication. The user identity is derived from the client certificate. ## Client ID - Internal User: - client_id=esydlt-web-app - External User: - client_id=esydlt-backend-service ## Grant Type - grant_type=password No username, password or client_secret is required.200 - OK
400 - Bad Request
401 - Unauthorized
403 - Forbidden
500 - Internal Server Error
- Parameters:
ncb- NCB Short NameclientId- The clientId parametergrantType- The grantType parameter- Returns:
- AuthResponse
- Throws:
org.springframework.web.client.RestClientResponseException- if an error occurs while attempting to invoke the API
-
retrieveAccessTokenWithHttpInfo
public org.springframework.http.ResponseEntity<AuthResponse> retrieveAccessTokenWithHttpInfo(@Nonnull String ncb, @Nonnull String clientId, @Nonnull String grantType) throws org.springframework.web.client.RestClientResponseException Authenticate & Retrieve JWT Access Token ## Description Retrieves a JWT access token through mTLS authentication. The user identity is derived from the client certificate. ## Client ID - Internal User: - client_id=esydlt-web-app - External User: - client_id=esydlt-backend-service ## Grant Type - grant_type=password No username, password or client_secret is required.200 - OK
400 - Bad Request
401 - Unauthorized
403 - Forbidden
500 - Internal Server Error
- Parameters:
ncb- NCB Short NameclientId- The clientId parametergrantType- The grantType parameter- Returns:
- ResponseEntity<AuthResponse>
- Throws:
org.springframework.web.client.RestClientResponseException- if an error occurs while attempting to invoke the API
-
retrieveAccessTokenWithResponseSpec
public org.springframework.web.client.RestClient.ResponseSpec retrieveAccessTokenWithResponseSpec(@Nonnull String ncb, @Nonnull String clientId, @Nonnull String grantType) throws org.springframework.web.client.RestClientResponseException Authenticate & Retrieve JWT Access Token ## Description Retrieves a JWT access token through mTLS authentication. The user identity is derived from the client certificate. ## Client ID - Internal User: - client_id=esydlt-web-app - External User: - client_id=esydlt-backend-service ## Grant Type - grant_type=password No username, password or client_secret is required.200 - OK
400 - Bad Request
401 - Unauthorized
403 - Forbidden
500 - Internal Server Error
- Parameters:
ncb- NCB Short NameclientId- The clientId parametergrantType- The grantType parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.client.RestClientResponseException- if an error occurs while attempting to invoke the API
-