- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 803 for token2 (0.07 seconds)
-
src/bufio/scan_test.go
t.Fatalf("scan failed: %v", scanner.Err()) } if token := scanner.Text(); token != word { t.Fatalf("unexpected token: %v", token) } } // Test that empty tokens, including at end of line or end of file, are found by the scanner. // Issue 8672: Could miss final empty token. func commaSplit(data []byte, atEOF bool) (advance int, token []byte, err error) { for i := 0; i < len(data); i++ {
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Sep 22 16:22:42 GMT 2023 - 14.3K bytes - Click Count (0) -
internal/s3select/csv/args.go
args.QuoteEscapeCharacter = defaultQuoteEscapeCharacter args.CommentCharacter = defaultCommentCharacter args.AllowQuotedRecordDelimiter = false for { // Read tokens from the XML document in a stream. t, err := d.Token() if err != nil { if err == io.EOF { break } return err } if se, ok := t.(xml.StartElement); ok { tagName := se.Name.Local switch tagName {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Aug 20 18:31:45 GMT 2024 - 5.7K bytes - Click Count (0) -
docs/sts/web-identity.py
print('body: ' + id_token_response.text) # we can now use the id_token as much as we want to access protected resources. tokens = json.loads(id_token_response.text) id_token = tokens['id_token'] response = sts_client.assume_role_with_web_identity( RoleArn='arn:aws:iam::123456789012:user/svc-internal-api', RoleSessionName='test',Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Jul 28 01:37:51 GMT 2021 - 2.9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/HttpHeaders.kt
private val TOKEN_DELIMITERS = "\t ,=".encodeUtf8() /** * Parse RFC 7235 challenges. This is awkward because we need to look ahead to know how to * interpret a token. * * For example, the first line has a parameter name/value pair and the second line has a single * token68: * * ``` * WWW-Authenticate: Digest foo=bar * WWW-Authenticate: Digest foo= * ``` *
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon May 05 16:01:00 GMT 2025 - 7.2K bytes - Click Count (0) -
src/test/java/jcifs/pac/kerberos/KerberosTokenTest.java
baos.write(0x60); // APPLICATION 0 baos.write(content.length); baos.write(content); byte[] token = baos.toByteArray(); assertThrows(PACDecodingException.class, () -> new KerberosToken(token)); } // Helper methods to create test tokens private byte[] createGssApiWrapper(ASN1ObjectIdentifier oid, byte[] data) throws IOException {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.8K bytes - Click Count (0) -
internal/event/target/webhook.go
if err != nil { return err } // Verify if the authToken already contains // <Key> <Token> like format, if this is // already present we can blindly use the // authToken as is instead of adding 'Bearer' tokens := strings.Fields(target.args.AuthToken) switch len(tokens) { case 2: req.Header.Set("Authorization", target.args.AuthToken) case 1:Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Sep 06 23:06:30 GMT 2024 - 8.8K bytes - Click Count (0) -
src/main/java/jcifs/spnego/NegTokenTarg.java
setMechanismListMIC(mechanismListMIC); } /** * Constructs a NegTokenTarg by parsing the provided token bytes * @param token the SPNEGO token bytes to parse * @throws IOException if parsing fails */ public NegTokenTarg(final byte[] token) throws IOException { parse(token); } /** * Gets the negotiation result code * @return the result code */
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.9K bytes - Click Count (0) -
cmd/sts-handlers.go
} // AssumeRoleWithCustomToken implements user authentication with custom tokens. // These tokens are opaque to MinIO and are verified by a configured (external) // Identity Management Plugin. // // API endpoint: https://minio:9000?Action=AssumeRoleWithCustomToken&Token=xxx func (sts *stsAPIHandlers) AssumeRoleWithCustomToken(w http.ResponseWriter, r *http.Request) {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 36.6K bytes - Click Count (0) -
docs/zh/docs/tutorial/security/simple-oauth2.md
/// ## 返回 Token `token` 端点的响应必须是 JSON 对象。 响应返回的内容应该包含 `token_type`。本例中用的是**Bearer**Token,因此, Token 类型应为**`bearer`**。 返回内容还应包含 `access_token` 字段,它是包含权限 Token 的字符串。 本例只是简单的演示,返回的 Token 就是 `username`,但这种方式极不安全。 /// tip | 提示 下一章介绍使用哈希密码和 <abbr title="JSON Web Tokens">JWT</abbr> Token 的真正安全机制。 但现在,仅关注所需的特定细节。 ///
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 8.6K bytes - Click Count (0) -
docs/de/docs/advanced/security/oauth2-scopes.md
Das ist derselbe Mechanismus, der verwendet wird, wenn Sie beim Anmelden mit Facebook, Google, GitHub, usw. Berechtigungen erteilen: <img src="/img/tutorial/security/image11.png"> ## JWT-Token mit Scopes { #jwt-token-with-scopes } Ändern Sie nun die Token-*Pfadoperation*, um die angeforderten Scopes zurückzugeben.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Sep 20 15:10:09 GMT 2025 - 15.7K bytes - Click Count (0)