public class AuthenticationApi extends Object
| Constructor and Description |
|---|
AuthenticationApi() |
AuthenticationApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
AuthResponse |
authorize()
Create a session for a user or an app
Authenticate a user or an app to SDKMS to begin a session.
|
void |
checkHealth()
Check whether the server is handling requests
Returns a 200-class status code if the server is handling requests, or a 500-class status code if the server is having problems.
|
ApiClient |
getApiClient() |
VersionResponse |
getServerVersion()
Get SDKMS version information
Returns information about the SDKMS server version and the client API version that it supports.
|
AuthResponse |
reAuth()
Create a new session for a user or an app using an existing session bearer token.
|
void |
refresh()
Refreshes existing user or app session.
|
SelectAccountResponse |
selectAccount(SelectAccountRequest body)
Select a user's account to work on
Select one of user's account to proceed.
|
void |
setApiClient(ApiClient apiClient) |
void |
terminate()
Terminate a session
Terminate an authenticated session.
|
void |
unlock2F()
Unlock two factor configuration
Re-authenticate to unlock two factor configuration.
|
public AuthenticationApi()
public AuthenticationApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public AuthResponse authorize() throws ApiException
ApiException - if fails to make API callpublic void checkHealth()
throws ApiException
ApiException - if fails to make API callpublic VersionResponse getServerVersion() throws ApiException
ApiException - if fails to make API callpublic AuthResponse reAuth() throws ApiException
ApiException - if fails to make API callpublic void refresh()
throws ApiException
ApiException - if fails to make API callpublic SelectAccountResponse selectAccount(SelectAccountRequest body) throws ApiException
body - Select Account Request (required)ApiException - if fails to make API callpublic void terminate()
throws ApiException
ApiException - if fails to make API callpublic void unlock2F()
throws ApiException
ApiException - if fails to make API callCopyright © 2017-2025 Fortanix Inc. All Rights Reserved