Skip to content

Commit

Permalink
Merge pull request #23 from AlexCuse/session-id
Browse files Browse the repository at this point in the history
claims: add SessionID to known claims
  • Loading branch information
cainlevy authored Apr 19, 2023
2 parents c30d06e + 8816dcd commit 1662bf1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion authn/claims.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package authn
import "gopkg.in/square/go-jose.v2/jwt"

type Claims struct {
AuthTime *jwt.NumericDate `json:"auth_time"`
AuthTime *jwt.NumericDate `json:"auth_time"`
SessionID string `json:"sid"`
jwt.Claims
}

0 comments on commit 1662bf1

Please sign in to comment.