method

App.RevokePreviewToken

func (application *App) RevokePreviewToken( ctx context.Context, raw string, identity *AuthIdentity, ) error

Revoke a preview capability owned by the exact authenticated identity.

Source core/preview.go:261

@param ctx
The ctx value.
@param raw
The raw value.
@param identity
The identity value.
@returns
The declared result.

Missing and expired tokens are treated as already revoked.

Related types

  • App

    A resolved application bound to operation services.

  • AuthIdentity

    An exact authenticated collection and actor document.