metadata property

Map<String, dynamic> metadata
final

Arbitrary extra data associated with this token.

Use this to carry non-standard JWT claims (e.g. tenant ID, user ID, feature flags) or any custom fields returned alongside the token response. tryParseJwt populates this automatically from all non-standard claims in the JWT payload.

Implementation

final Map<String, dynamic> metadata;