Search Options

Display Count
Sort
Preferred Language
Advanced Search

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

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

            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"));
            assertEquals(1609459200L, attributes.get("nbf"));
        }
    
        @Test
    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

    					return errors.New("iss: Expected string")
    				}
    				c.Issuer, err = jsonparser.ParseString(value)
    				return err
    			}
    		case 'n':
    			if string(key) == "nbf" {
    				if dataType != jsonparser.Number {
    					return errors.New("nbf: Expected number")
    				}
    				c.NotBefore, err = jsonparser.ParseInt(value)
    				return err
    			}
    		case 's':
    			if string(key) == "sub" {
    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