Package com.symphony.bdk.gen.api
Class CertificateAuthenticationApi
java.lang.Object
com.symphony.bdk.gen.api.CertificateAuthenticationApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-09-12T12:09:06.693690642Z[Etc/UTC]")
public class CertificateAuthenticationApi
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.symphony.bdk.http.api.ApiClient
Get the API cilentvoid
setApiClient
(com.symphony.bdk.http.api.ApiClient apiClient) Set the API cilent(Deprecated - use RSA authentication instead /login/v1/pubkey/app/authenticate) PROVISIONAL - Authenticate an application in a delegated context.com.symphony.bdk.http.api.ApiResponse<Token>
(Deprecated - use RSA authentication instead /login/v1/pubkey/app/authenticate) PROVISIONAL - Authenticate an application in a delegated context.v1AppUsernameUsernameAuthenticatePost
(String username, String sessionToken) (Deprecated - use RSA authentication instead /login/v1/app/username/{username}/authenticate) PROVISIONAL - Authenticate an application in a delegated context to act on behalf of a usercom.symphony.bdk.http.api.ApiResponse<OboAuthResponse>
v1AppUsernameUsernameAuthenticatePostWithHttpInfo
(String username, String sessionToken) (Deprecated - use RSA authentication instead /login/v1/app/username/{username}/authenticate) PROVISIONAL - Authenticate an application in a delegated context to act on behalf of a userv1AppUserUidAuthenticatePost
(Long uid, String sessionToken) (Deprecated - use RSA authentication instead /login/v1/app/user/{uid}/authenticate) PROVISIONAL - Authenticate an application in a delegated context to act on behalf of a usercom.symphony.bdk.http.api.ApiResponse<OboAuthResponse>
v1AppUserUidAuthenticatePostWithHttpInfo
(Long uid, String sessionToken) (Deprecated - use RSA authentication instead /login/v1/app/user/{uid}/authenticate) PROVISIONAL - Authenticate an application in a delegated context to act on behalf of a user(Deprecated - use RSA authentication instead /login/v1/pubkey/app/authenticate/extensionApp) Authenticate a client-extension application Based on the application's SSL client certificate presented by the TLS layer, it authenticates the client-extension application and return a symphony verification token.com.symphony.bdk.http.api.ApiResponse<ExtensionAppTokens>
(Deprecated - use RSA authentication instead /login/v1/pubkey/app/authenticate/extensionApp) Authenticate a client-extension application Based on the application's SSL client certificate presented by the TLS layer, it authenticates the client-extension application and return a symphony verification token.Authenticate.com.symphony.bdk.http.api.ApiResponse<Token>
Authenticate.v1LogoutPost
(String sessionToken) Logout.com.symphony.bdk.http.api.ApiResponse<SuccessResponse>
v1LogoutPostWithHttpInfo
(String sessionToken) Logout.
-
Constructor Details
-
CertificateAuthenticationApi
public CertificateAuthenticationApi(com.symphony.bdk.http.api.ApiClient apiClient)
-
-
Method Details
-
getApiClient
public com.symphony.bdk.http.api.ApiClient getApiClient()Get the API cilent- Returns:
- API client
-
setApiClient
public void setApiClient(com.symphony.bdk.http.api.ApiClient apiClient) Set the API cilent- Parameters:
apiClient
- an instance of API client
-
v1AppAuthenticatePost
(Deprecated - use RSA authentication instead /login/v1/pubkey/app/authenticate) PROVISIONAL - Authenticate an application in a delegated context. Based on the SSL client certificate presented by the TLS layer, authenticate the API caller and return an application session.- Returns:
- Token
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v1AppAuthenticatePostWithHttpInfo
public com.symphony.bdk.http.api.ApiResponse<Token> v1AppAuthenticatePostWithHttpInfo() throws com.symphony.bdk.http.api.ApiException(Deprecated - use RSA authentication instead /login/v1/pubkey/app/authenticate) PROVISIONAL - Authenticate an application in a delegated context. Based on the SSL client certificate presented by the TLS layer, authenticate the API caller and return an application session.- Returns:
- ApiResponse<Token>
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v1AppUserUidAuthenticatePost
public OboAuthResponse v1AppUserUidAuthenticatePost(Long uid, String sessionToken) throws com.symphony.bdk.http.api.ApiException (Deprecated - use RSA authentication instead /login/v1/app/user/{uid}/authenticate) PROVISIONAL - Authenticate an application in a delegated context to act on behalf of a user- Parameters:
uid
- user id (required)sessionToken
- Authorization token obtains from app/authenicate API (required)- Returns:
- OboAuthResponse
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v1AppUserUidAuthenticatePostWithHttpInfo
public com.symphony.bdk.http.api.ApiResponse<OboAuthResponse> v1AppUserUidAuthenticatePostWithHttpInfo(Long uid, String sessionToken) throws com.symphony.bdk.http.api.ApiException (Deprecated - use RSA authentication instead /login/v1/app/user/{uid}/authenticate) PROVISIONAL - Authenticate an application in a delegated context to act on behalf of a user- Parameters:
uid
- user id (required)sessionToken
- Authorization token obtains from app/authenicate API (required)- Returns:
- ApiResponse<OboAuthResponse>
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v1AppUsernameUsernameAuthenticatePost
public OboAuthResponse v1AppUsernameUsernameAuthenticatePost(String username, String sessionToken) throws com.symphony.bdk.http.api.ApiException (Deprecated - use RSA authentication instead /login/v1/app/username/{username}/authenticate) PROVISIONAL - Authenticate an application in a delegated context to act on behalf of a user- Parameters:
username
- username (required)sessionToken
- Authorization token obtains from app/authenicate API (required)- Returns:
- OboAuthResponse
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v1AppUsernameUsernameAuthenticatePostWithHttpInfo
public com.symphony.bdk.http.api.ApiResponse<OboAuthResponse> v1AppUsernameUsernameAuthenticatePostWithHttpInfo(String username, String sessionToken) throws com.symphony.bdk.http.api.ApiException (Deprecated - use RSA authentication instead /login/v1/app/username/{username}/authenticate) PROVISIONAL - Authenticate an application in a delegated context to act on behalf of a user- Parameters:
username
- username (required)sessionToken
- Authorization token obtains from app/authenicate API (required)- Returns:
- ApiResponse<OboAuthResponse>
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v1AuthenticateExtensionAppPost
public ExtensionAppTokens v1AuthenticateExtensionAppPost(ExtensionAppAuthenticateRequest authRequest) throws com.symphony.bdk.http.api.ApiException (Deprecated - use RSA authentication instead /login/v1/pubkey/app/authenticate/extensionApp) Authenticate a client-extension application Based on the application's SSL client certificate presented by the TLS layer, it authenticates the client-extension application and return a symphony verification token.- Parameters:
authRequest
- application generated token (required)- Returns:
- ExtensionAppTokens
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v1AuthenticateExtensionAppPostWithHttpInfo
public com.symphony.bdk.http.api.ApiResponse<ExtensionAppTokens> v1AuthenticateExtensionAppPostWithHttpInfo(ExtensionAppAuthenticateRequest authRequest) throws com.symphony.bdk.http.api.ApiException (Deprecated - use RSA authentication instead /login/v1/pubkey/app/authenticate/extensionApp) Authenticate a client-extension application Based on the application's SSL client certificate presented by the TLS layer, it authenticates the client-extension application and return a symphony verification token.- Parameters:
authRequest
- application generated token (required)- Returns:
- ApiResponse<ExtensionAppTokens>
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v1AuthenticatePost
Authenticate. Based on the SSL client certificate presented by the TLS layer, authenticate the API caller and return a session token.- Returns:
- Token
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v1AuthenticatePostWithHttpInfo
public com.symphony.bdk.http.api.ApiResponse<Token> v1AuthenticatePostWithHttpInfo() throws com.symphony.bdk.http.api.ApiExceptionAuthenticate. Based on the SSL client certificate presented by the TLS layer, authenticate the API caller and return a session token.- Returns:
- ApiResponse<Token>
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v1LogoutPost
public SuccessResponse v1LogoutPost(String sessionToken) throws com.symphony.bdk.http.api.ApiException Logout. Logout a users session.- Parameters:
sessionToken
- the session token to logout. (required)- Returns:
- SuccessResponse
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v1LogoutPostWithHttpInfo
public com.symphony.bdk.http.api.ApiResponse<SuccessResponse> v1LogoutPostWithHttpInfo(String sessionToken) throws com.symphony.bdk.http.api.ApiException Logout. Logout a users session.- Parameters:
sessionToken
- the session token to logout. (required)- Returns:
- ApiResponse<SuccessResponse>
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-