@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2021-04-30T10:17:50.371Z[Etc/UTC]")
public class AuthenticationApi
extends java.lang.Object
Constructor and Description |
---|
AuthenticationApi(com.symphony.bdk.http.api.ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
com.symphony.bdk.http.api.ApiClient |
getApiClient()
Get the API cilent
|
Token |
pubkeyAppAuthenticatePost(AuthenticateRequest authenticateRequest)
Authenticate an App with public key
Based on an authentication request token signed by the application's RSA private key, authenticate the API caller and return a session token.
|
com.symphony.bdk.http.api.ApiResponse<Token> |
pubkeyAppAuthenticatePostWithHttpInfo(AuthenticateRequest authenticateRequest)
Authenticate an App with public key
Based on an authentication request token signed by the application's RSA private key, authenticate the API caller and return a session token.
|
Token |
pubkeyAppUsernameUsernameAuthenticatePost(java.lang.String sessionToken,
java.lang.String username)
Authenticate an application in a delegated context to act on behalf of a user
|
com.symphony.bdk.http.api.ApiResponse<Token> |
pubkeyAppUsernameUsernameAuthenticatePostWithHttpInfo(java.lang.String sessionToken,
java.lang.String username)
Authenticate an application in a delegated context to act on behalf of a user
|
Token |
pubkeyAppUserUserIdAuthenticatePost(java.lang.String sessionToken,
java.lang.Long userId)
Authenticate an application in a delegated context to act on behalf of a user
|
com.symphony.bdk.http.api.ApiResponse<Token> |
pubkeyAppUserUserIdAuthenticatePostWithHttpInfo(java.lang.String sessionToken,
java.lang.Long userId)
Authenticate an application in a delegated context to act on behalf of a user
|
Token |
pubkeyAuthenticatePost(AuthenticateRequest authenticateRequest)
Authenticate with public key
Based on an authentication request token signed by the caller's RSA private key, authenticate the API caller and return a session token.
|
com.symphony.bdk.http.api.ApiResponse<Token> |
pubkeyAuthenticatePostWithHttpInfo(AuthenticateRequest authenticateRequest)
Authenticate with public key
Based on an authentication request token signed by the caller's RSA private key, authenticate the API caller and return a session token.
|
ExtensionAppTokens |
v1PubkeyAppAuthenticateExtensionAppPost(AuthenticateExtensionAppRequest authenticateRequest)
Authenticate extension app with public key
Based on an authentication request token signed by the caller's RSA private key, authenticate the API caller and return a session token.
|
com.symphony.bdk.http.api.ApiResponse<ExtensionAppTokens> |
v1PubkeyAppAuthenticateExtensionAppPostWithHttpInfo(AuthenticateExtensionAppRequest authenticateRequest)
Authenticate extension app with public key
Based on an authentication request token signed by the caller's RSA private key, authenticate the API caller and return a session token.
|
public AuthenticationApi(com.symphony.bdk.http.api.ApiClient apiClient)
public com.symphony.bdk.http.api.ApiClient getApiClient()
public Token pubkeyAppAuthenticatePost(AuthenticateRequest authenticateRequest) throws com.symphony.bdk.http.api.ApiException
authenticateRequest
- (required)com.symphony.bdk.http.api.ApiException
- if fails to make API callpublic com.symphony.bdk.http.api.ApiResponse<Token> pubkeyAppAuthenticatePostWithHttpInfo(AuthenticateRequest authenticateRequest) throws com.symphony.bdk.http.api.ApiException
authenticateRequest
- (required)com.symphony.bdk.http.api.ApiException
- if fails to make API callpublic Token pubkeyAppUserUserIdAuthenticatePost(java.lang.String sessionToken, java.lang.Long userId) throws com.symphony.bdk.http.api.ApiException
sessionToken
- App Session authentication token. (required)userId
- the user ID (required)com.symphony.bdk.http.api.ApiException
- if fails to make API callpublic com.symphony.bdk.http.api.ApiResponse<Token> pubkeyAppUserUserIdAuthenticatePostWithHttpInfo(java.lang.String sessionToken, java.lang.Long userId) throws com.symphony.bdk.http.api.ApiException
sessionToken
- App Session authentication token. (required)userId
- the user ID (required)com.symphony.bdk.http.api.ApiException
- if fails to make API callpublic Token pubkeyAppUsernameUsernameAuthenticatePost(java.lang.String sessionToken, java.lang.String username) throws com.symphony.bdk.http.api.ApiException
sessionToken
- App Session authentication token. (required)username
- the username (required)com.symphony.bdk.http.api.ApiException
- if fails to make API callpublic com.symphony.bdk.http.api.ApiResponse<Token> pubkeyAppUsernameUsernameAuthenticatePostWithHttpInfo(java.lang.String sessionToken, java.lang.String username) throws com.symphony.bdk.http.api.ApiException
sessionToken
- App Session authentication token. (required)username
- the username (required)com.symphony.bdk.http.api.ApiException
- if fails to make API callpublic Token pubkeyAuthenticatePost(AuthenticateRequest authenticateRequest) throws com.symphony.bdk.http.api.ApiException
authenticateRequest
- (required)com.symphony.bdk.http.api.ApiException
- if fails to make API callpublic com.symphony.bdk.http.api.ApiResponse<Token> pubkeyAuthenticatePostWithHttpInfo(AuthenticateRequest authenticateRequest) throws com.symphony.bdk.http.api.ApiException
authenticateRequest
- (required)com.symphony.bdk.http.api.ApiException
- if fails to make API callpublic ExtensionAppTokens v1PubkeyAppAuthenticateExtensionAppPost(AuthenticateExtensionAppRequest authenticateRequest) throws com.symphony.bdk.http.api.ApiException
authenticateRequest
- (required)com.symphony.bdk.http.api.ApiException
- if fails to make API callpublic com.symphony.bdk.http.api.ApiResponse<ExtensionAppTokens> v1PubkeyAppAuthenticateExtensionAppPostWithHttpInfo(AuthenticateExtensionAppRequest authenticateRequest) throws com.symphony.bdk.http.api.ApiException
authenticateRequest
- (required)com.symphony.bdk.http.api.ApiException
- if fails to make API call