From fbf55e98baa377f2cb43af508ac61a026fd6979e Mon Sep 17 00:00:00 2001 From: Steve Moyer Date: Tue, 11 Mar 2025 12:57:08 -0400 Subject: [PATCH] Update token/invocation/options.go MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Michael Muré Signed-off-by: Steve Moyer --- token/invocation/options.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/token/invocation/options.go b/token/invocation/options.go index 9034e3b..1dce7aa 100644 --- a/token/invocation/options.go +++ b/token/invocation/options.go @@ -129,7 +129,7 @@ func WithExpirationIn(after time.Duration) Option { // If this Option is not provided, the invocation Token's iat field will // be set to the value of time.Now(). If you want to create an invocation // Token without this field being set, use the WithoutInvokedAt Option. -func WithInvokedAt(iat time.Time) Option { +func WithIssuedAt(iat time.Time) Option { return func(t *Token) error { t.issuedAt = &iat