undo authTime export from example

This commit is contained in:
Tim Möhlmann 2023-12-16 00:31:20 +02:00
parent 519718ec96
commit 5c6ead281e
2 changed files with 3 additions and 3 deletions

View file

@ -771,7 +771,7 @@ func (s *Storage) getTokenExchangeClaims(ctx context.Context, request op.TokenEx
func getInfoFromRequest(req op.TokenRequest) (clientID string, authTime time.Time, amr []string) {
authReq, ok := req.(*AuthRequest) // Code Flow (with scope offline_access)
if ok {
return authReq.ApplicationID, authReq.AuthTime, authReq.GetAMR()
return authReq.ApplicationID, authReq.authTime, authReq.GetAMR()
}
refreshReq, ok := req.(*RefreshTokenRequest) // Refresh Token Request
if ok {