public class AuthenticationTokensService extends Object
| Constructor and Description |
|---|
AuthenticationTokensService(AuthenticationTokensApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
String |
createSenderAuthenticationToken(String packageId)
Create a sender authentication token which is used to obtain a signing session for that package sender.
|
String |
createSignerAuthenticationToken(String packageId,
String signerId)
Create a signer authentication token which is used to obtain a signing session for that signer.
|
String |
createSignerAuthenticationToken(String packageId,
String signerId,
Map<String,String> signerSessionFields)
Create a signer authentication token which is used to obtain a signing session for that signer.
|
String |
createSignerAuthenticationTokenForSingleUse(String packageId,
String signerId,
Map<String,String> signerSessionFields)
Create a single use signer authentication token which is used to obtain a signing session for that signer.
|
String |
createUserAuthenticationToken()
Create a user authentication token which is used to obtain a session for the user linked to the api key.
|
public AuthenticationTokensService(AuthenticationTokensApiClient apiClient)
public String createUserAuthenticationToken()
UserAuthenticationTokenExample
For a more typical example usage: DesignerRedirectForApiKeyExamplepublic String createSenderAuthenticationToken(String packageId)
SenderAuthenticationTokenExample
For a more typical example usage: DesignerRedirectForPackageSenderExamplepackageId - The package for which the sender authentication token is created.public String createSignerAuthenticationToken(String packageId, String signerId)
SignerAuthenticationTokenExample
For a more typical example usage: SigningRedirectForSignerExamplepackageId - The package for which the signer authentication token is created.signerId - The signer for which the signer authentication token is created.public String createSignerAuthenticationToken(String packageId, String signerId, Map<String,String> signerSessionFields)
SignerAuthenticationTokenExample
For a more typical example usage: SigningRedirectForSignerExamplepackageId - The package for which the signer authentication token is created.signerId - The signer for which the signer authentication token is created.signerSessionFields - The signer session fields for which the signer authentication token is created.public String createSignerAuthenticationTokenForSingleUse(String packageId, String signerId, Map<String,String> signerSessionFields)
SignerAuthenticationTokenExample
For a more typical example usage: SigningRedirectForSignerForSingleUseExamplepackageId - The package for which the signer authentication token is created.signerId - The signer for which the signer authentication token is created.signerSessionFields - The signer session fields for which the signer authentication token is created.Copyright 2022 OneSpan All rights reserved.