method
App.CreateGlobalPreviewToken
func (application *App) CreateGlobalPreviewToken(
ctx context.Context,
slug string,
identity *AuthIdentity,
) (PreviewToken, error)Mint a short-lived preview token for one draft global.
Related types
AppA resolved application bound to operation services.
AuthIdentityAn exact authenticated collection and actor document.
PreviewTokenOne short-lived read-only resource capability.