Skip to contents

Signs claims (plus an exp expiry computed from the scheme) with HMAC.

Usage

aurora_jwt_token(auth, claims = list())

Arguments

auth

An aurora_auth_jwt() scheme.

claims

A named list of claims to embed (e.g. list(user = "alice")).

Value

The signed token as a string.