Skip to content

GetID in the Claims interface ? #334

Open
@zaakn

Description

@zaakn

Is there a special consideration for the absence of the GetID() function?

https://datatracker.ietf.org/doc/html/rfc7519#section-4.1.7

jwt/claims.go

Lines 9 to 16 in 8aa5d6c

type Claims interface {
GetExpirationTime() (*NumericDate, error)
GetIssuedAt() (*NumericDate, error)
GetNotBefore() (*NumericDate, error)
GetIssuer() (string, error)
GetSubject() (string, error)
GetAudience() (ClaimStrings, error)
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    nextThe next iteration of development, currently `v6`

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions