Constructor
new DigitalSignature(opts)
Creates a DigitalSignature
Parameters:
Name | Type | Description |
---|---|---|
opts |
object | The configuration options. |
Methods
getSignature() → {Promise.<any>|Promise.<(*|never)>}
getSignature
Returns:
Return signature validation
- Type
- Promise.<any> | Promise.<(*|never)>
getSignature() → {Promise.<any>|Promise.<(*|never)>}
getSignature
Returns:
Return signature validation
- Type
- Promise.<any> | Promise.<(*|never)>
setRestUrl(restUrl)
Set the rest url
Parameters:
Name | Type | Description |
---|---|---|
restUrl |
The rest url |
setRestUrl(restUrl)
Set the rest url
Parameters:
Name | Type | Description |
---|---|---|
restUrl |
The rest url |
setToken(token)
Set the token in DigitalSignature variables
Parameters:
Name | Type | Description |
---|---|---|
token |
The authorization token value |
setToken(token)
Set the token in DigitalSignature variables
Parameters:
Name | Type | Description |
---|---|---|
token |
The authorization token value |