MapClaims is a claims type that uses the map[string]any for JSON decoding. This is the default claims type if you don't supply one

Hierarchy

Methods

  • GetAudience implements the Claims interface.

    Returns ClaimStrings

  • GetExpirationTime implements the Claims interface.

    Returns NumericDate

  • GetIssuedAt implements the Claims interface.

    Returns NumericDate

  • GetIssuer implements the Claims interface.

    Returns string

  • GetNotBefore implements the Claims interface.

    Returns NumericDate

  • GetSubject implements the Claims interface.

    Returns string

Generated using TypeDoc