method
App.RevokePreviewToken
Revoke a preview capability owned by the exact authenticated identity.
Arguments
| Argument | Type | Description |
|---|---|---|
ctx | context.Context | The ctx value. |
raw | string | The raw value. |
identity | *AuthIdentity | The identity value. |
Returns
The declared result.
errorHow it works
Missing and expired tokens are treated as already revoked.
Full signature
func (application *App) RevokePreviewToken(
ctx context.Context,
raw string,
identity *AuthIdentity,
) errorRelated types
AppA resolved application bound to operation services.
AuthIdentityAn exact authenticated collection and actor document.