Fix comment

This commit is contained in:
Abhishek Pandey 2024-02-16 18:24:14 -08:00
parent 813fc9f5c5
commit 1afd20b67f

View File

@ -43,10 +43,10 @@ func IsJWTExpired(
// GetJWTLifetime returns the issued at(iat) and expiration time(exp) claims // GetJWTLifetime returns the issued at(iat) and expiration time(exp) claims
// present in the JWT token. These are optional claims and may not be present // present in the JWT token. These are optional claims and may not be present
// in the token. // in the token. Absence is not reported as an error.
// //
// An error is returned if the supplied token is malformed or if the claims are // An error is returned if the supplied token is malformed. Times are returned
// missing. Times are returned in UTC to have parity with graph responses. // in UTC to have parity with graph responses.
func GetJWTLifetime( func GetJWTLifetime(
ctx context.Context, ctx context.Context,
rawToken string, rawToken string,