- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 89 for expiresAt (0.09 sec)
-
okhttp/src/main/kotlin/okhttp3/Cookie.kt
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 06 04:12:05 UTC 2024 - 23.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CookieTest.kt
.isEqualTo(0L) assertThat(parse(url, "a=b; Expires=Thu, 01 Jan 1970 00:0:00 GMT")!!.expiresAt) .isEqualTo(0L) assertThat(parse(url, "a=b; Expires=Thu, 01 Jan 1970 00:00:0 GMT")!!.expiresAt) .isEqualTo(0L) assertThat(parse(url, "a=b; Expires=00:00:00 Thu, 01 Jan 1970 GMT")!!.expiresAt) .isEqualTo(0L)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 24.3K bytes - Viewed (0) -
internal/config/identity/openid/jwt_test.go
return server } func TestJWTHMACType(t *testing.T) { server := initJWKSServer() defer server.Close() jwt := &jwtgo.Token{ Method: jwtgo.SigningMethodHS256, Claims: jwtgo.StandardClaims{ ExpiresAt: 253428928061, Audience: "76b95ae5-33ef-4283-97b7-d2a85dc2d8f4", }, Header: map[string]interface{}{ "typ": "JWT", "alg": jwtgo.SigningMethodHS256.Alg(),
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 8.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.kt
fun cookie() { val cookie: Cookie = Cookie.Builder().build() val name: String = cookie.name() val value: String = cookie.value() val persistent: Boolean = cookie.persistent() val expiresAt: Long = cookie.expiresAt() val hostOnly: Boolean = cookie.hostOnly() val domain: String = cookie.domain() val path: String = cookie.path() val httpOnly: Boolean = cookie.httpOnly()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 13.3K bytes - Viewed (0) -
internal/jwt/parser.go
return err } case 'e': if string(key) == "exp" { 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") }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 17 16:45:46 UTC 2024 - 14.1K bytes - Viewed (0) -
internal/config/dns/operator_dns.go
) func (c *OperatorDNS) addAuthHeader(r *http.Request) error { if c.username == "" || c.password == "" { return nil } claims := &jwt.StandardClaims{ ExpiresAt: int64(15 * time.Minute), Issuer: c.username, Subject: config.EnvDNSWebhook, } token := jwt.NewWithClaims(jwt.SigningMethodHS512, claims) ss, err := token.SignedString([]byte(c.password))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Mar 06 16:56:10 UTC 2023 - 6.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt
@Test fun cookie() { val cookie: Cookie = Cookie.Builder().build() val name: String = cookie.name val value: String = cookie.value val persistent: Boolean = cookie.persistent val expiresAt: Long = cookie.expiresAt val hostOnly: Boolean = cookie.hostOnly val domain: String = cookie.domain val path: String = cookie.path val httpOnly: Boolean = cookie.httpOnly val secure: Boolean = cookie.secure
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 01 14:21:25 UTC 2024 - 46.5K bytes - Viewed (0) -
okhttp/api/okhttp.api
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 13:41:01 UTC 2024 - 70.2K bytes - Viewed (0) -
cmd/server_test.go
const ( defaultPrometheusJWTExpiry = 100 * 365 * 24 * time.Hour ) func (s *TestSuiteCommon) TestMetricsV3Handler(c *check) { jwt := jwtgo.NewWithClaims(jwtgo.SigningMethodHS512, jwtgo.StandardClaims{ ExpiresAt: time.Now().UTC().Add(defaultPrometheusJWTExpiry).Unix(), Subject: s.accessKey, Issuer: "prometheus", }) token, err := jwt.SignedString([]byte(s.secretKey)) c.Assert(err, nil)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 15 16:28:02 UTC 2024 - 116.3K bytes - Viewed (0) -
cmd/signature-v2.go
canonicalHeaders += "\n" } date := expires // Date is set to expires date for presign operations. if date == "" { // If expires date is empty then request header Date is used. date = headers.Get(xhttp.Date) } // From the Amazon docs: // // StringToSign = HTTP-Verb + "\n" + // Content-Md5 + "\n" + // Content-Type + "\n" + // Date/Expires + "\n" + // CanonicalizedProtocolHeaders +
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 12.2K bytes - Viewed (0)