Class CertificateAuthenticationApi

java.lang.Object
com.symphony.bdk.gen.api.CertificateAuthenticationApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-03-26T16:14:56.316437886Z[Etc/UTC]") public class CertificateAuthenticationApi extends Object
  • 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

      public Token v1AppAuthenticatePost() 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:
      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

      public Token v1AuthenticatePost() throws com.symphony.bdk.http.api.ApiException
      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.ApiException
      Authenticate. 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