Skip to content

Commit

Permalink
claims: include session ID / SID
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexCuse committed Apr 18, 2023
1 parent c30d06e commit 8816dcd
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 8816dcd

Please sign in to comment.