Methods
# static verifyAndUse(ctx, ticket) → {Promise.<void>}
Verifies and uses a ticket. If the ticket is invalid, an error is thrown.
Parameters:
| Name | Type | Description |
|---|---|---|
ctx |
RequestContext
|
|
ticket |
string
|
Promise.<void>