Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for iat (0.01 seconds)

  1. src/test/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticatorTest.java

        public void test_parseJwtClaim_numericValues() throws IOException {
            final String jwtClaim = "{\"iat\":1609459200,\"exp\":1609462800,\"nbf\":1609459200}";
            final Map<String, Object> attributes = new HashMap<>();
    
            authenticator.parseJwtClaim(jwtClaim, attributes);
    
            assertEquals(1609459200L, attributes.get("iat"));
            assertEquals(1609462800L, attributes.get("exp"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 15 12:54:47 GMT 2026
    - 11K bytes
    - Click Count (0)
  2. internal/jwt/parser.go

    				if dataType != jsonparser.Number {
    					return errors.New("exp: Expected number")
    				}
    				c.ExpiresAt, err = jsonparser.ParseInt(value)
    				return err
    			}
    		case 'i':
    			if string(key) == "iat" {
    				if dataType != jsonparser.Number {
    					return errors.New("exp: Expected number")
    				}
    				c.IssuedAt, err = jsonparser.ParseInt(value)
    				return err
    			}
    			if string(key) == "iss" {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 14.1K bytes
    - Click Count (0)
Back to Top