Complete token.stateful.Clone.
This commit is contained in:
@@ -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,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user