1
Fork 0

Complete token.stateful.Clone.

This commit is contained in:
Juliusz Chroboczek 2023-07-09 11:52:13 +02:00
parent e73aaa31d7
commit 5aff224e62
1 changed files with 2 additions and 0 deletions

View File

@ -31,6 +31,8 @@ func (token *Stateful) Clone() *Stateful {
Permissions: append([]string(nil), token.Permissions...), Permissions: append([]string(nil), token.Permissions...),
Expires: token.Expires, Expires: token.Expires,
NotBefore: token.NotBefore, NotBefore: token.NotBefore,
IssuedAt: token.IssuedAt,
IssuedBy: token.IssuedBy,
} }
} }