@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-04-04T11:45:05.194Z[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
|
Jwks |
idmKeysGet()
Returns the Common Access Token (JWT) public keys as a JWKS.
|
com.symphony.bdk.http.api.ApiResponse<Jwks> |
idmKeysGetWithHttpInfo()
Returns the Common Access Token (JWT) public keys as a JWKS.
|
JwtToken |
idmTokensPost(java.lang.String sessionToken,
java.lang.String scope)
Returns a valid OAuth2 access token from a given session token to be used for authentication
|
com.symphony.bdk.http.api.ApiResponse<JwtToken> |
idmTokensPostWithHttpInfo(java.lang.String sessionToken,
java.lang.String scope)
Returns a valid OAuth2 access token from a given session token to be used for authentication
|
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.
|
void |
setApiClient(com.symphony.bdk.http.api.ApiClient apiClient)
Set the API cilent
|
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 void setApiClient(com.symphony.bdk.http.api.ApiClient apiClient)
apiClient
- an instance of API clientpublic Jwks idmKeysGet() throws com.symphony.bdk.http.api.ApiException
com.symphony.bdk.http.api.ApiException
- if fails to make API callpublic com.symphony.bdk.http.api.ApiResponse<Jwks> idmKeysGetWithHttpInfo() throws com.symphony.bdk.http.api.ApiException
com.symphony.bdk.http.api.ApiException
- if fails to make API callpublic JwtToken idmTokensPost(java.lang.String sessionToken, java.lang.String scope) throws com.symphony.bdk.http.api.ApiException
sessionToken
- User session authentication token (required)scope
- Optional field used to get access with specific entitlements, use space separated list to define more that one (optional)com.symphony.bdk.http.api.ApiException
- if fails to make API callpublic com.symphony.bdk.http.api.ApiResponse<JwtToken> idmTokensPostWithHttpInfo(java.lang.String sessionToken, java.lang.String scope) throws com.symphony.bdk.http.api.ApiException
sessionToken
- User session authentication token (required)scope
- Optional field used to get access with specific entitlements, use space separated list to define more that one (optional)com.symphony.bdk.http.api.ApiException
- if fails to make API callpublic 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