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 |
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: DesignerRedirectForApiKeyExample
public String createSenderAuthenticationToken(String packageId)
SenderAuthenticationTokenExample
For a more typical example usage: DesignerRedirectForPackageSenderExample
packageId
- The package for which the sender authentication token is created.public String createSignerAuthenticationToken(String packageId, String signerId)
SignerAuthenticationTokenExample
For a more typical example usage: SigningRedirectForSignerExample
packageId
- The package for which the signer authentication token is created.signerId
- The signer for which the signer authentication token is created.Copyright 2014, Silanis Technology, Inc. All rights reserved.