Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 575 for toTokens (0.18 sec)

  1. security/pkg/server/ca/authenticate/oidc.go

    	Aud []string `json:"aud"`
    
    	// Exp is not currently used - we don't use the token for authn, just to determine k8s settings
    	Exp int `json:"exp"`
    
    	// Issuer - configured by K8S admin for projected tokens. Will be used to verify all tokens.
    	Iss string `json:"iss"`
    
    	Sub string `json:"sub"`
    }
    
    func (j JwtAuthenticator) AuthenticatorType() string {
    	return IDTokenAuthenticatorType
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. docs/iam/identity-manager-plugin.go

    }
    
    type Resp struct {
    	User               string                 `json:"user"`
    	MaxValiditySeconds int                    `json:"maxValiditySeconds"`
    	Claims             map[string]interface{} `json:"claims"`
    }
    
    var tokens map[string]Resp = map[string]Resp{
    	"aaa": {
    		User:               "Alice",
    		MaxValiditySeconds: 3600,
    		Claims: map[string]interface{}{
    			"groups": []string{"data-science"},
    		},
    	},
    	"bbb": {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 21:31:13 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. 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',
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jul 28 01:37:51 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  4. src/main/resources/fess_indices/fess/zh-cn/stopwords.txt

    # Punctuation tokens to remove
    ,
    .
    `
    -
    _
    =
    ?
    '
    |
    "
    (
    )
    {
    }
    [
    ]
    <
    >
    *
    #
    &
    ^
    $
    @
    !
    ~
    :
    ;
    +
    /
    \
    《
    》
    —
    -
    ,
    。
    、
    :
    ;
    !
    ·
    ?
    “
    ”
    )
    (
    【
    】
    [
    ]
    ●
    # the line below contains an IDEOGRAPHIC SPACE character (Used as a space in Chinese)
     
    
    # English Stop Words
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Sat Jun 17 08:00:22 UTC 2017
    - 310 bytes
    - Viewed (1)
  5. src/go/scanner/scanner_test.go

    			if off != len(input) && input[off] != '\n' {
    				t.Errorf("scanning <<%s>>, got SEMICOLON at offset %d, want newline or EOF", input, off)
    			}
    		}
    		lit = tok.String() // "\n" => ";"
    		tokens = append(tokens, lit)
    	}
    	if got := strings.Join(tokens, " "); got != want {
    		t.Errorf("scanning <<%s>>, got [%s], want [%s]", input, got, want)
    	}
    }
    
    var semicolonTests = [...]struct{ input, want string }{
    	{"", ""},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 15:38:31 UTC 2023
    - 34.6K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/security/simple-oauth2.md

    !!! tip
        In the next chapter, you will see a real secure implementation, with password hashing and <abbr title="JSON Web Tokens">JWT</abbr> tokens.
    
        But for now, let's focus on the specific details we need.
    
    === "Python 3.10+"
    
        ```Python hl_lines="87"
        {!> ../../../docs_src/security/tutorial003_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="87"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  7. src/encoding/xml/xml_test.go

    			t.Fatalf("failed to decode output: %v", err)
    		}
    		if len(tokens) == 0 {
    			t.Fatalf("unexpected token: %#v", tok)
    		}
    		a, b := tokens[0], tok
    		if !reflect.DeepEqual(a, b) {
    			t.Fatalf("token mismatch: %#v vs %#v", a, b)
    		}
    		tokens = tokens[1:]
    	}
    	if len(tokens) > 0 {
    		t.Fatalf("lost tokens: %#v", tokens)
    	}
    }
    
    func TestRoundTrip(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  8. releasenotes/notes/jwt-aud.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: security
    issue:
      - 49913
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 03 18:02:42 UTC 2024
    - 159 bytes
    - Viewed (0)
  9. pkg/controller/bootstrap/bootstrapsigner.go

    			sigs[tokenID] = value
    			delete(newCM.Data, key)
    		}
    	}
    
    	// Now recompute signatures and store them on the new map
    	tokens := e.getTokens(ctx)
    	for tokenID, tokenValue := range tokens {
    		sig, err := jws.ComputeDetachedSignature(content, tokenID, tokenValue)
    		if err != nil {
    			utilruntime.HandleError(err)
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. src/main/resources/fess_indices/fess/zh-tw/stopwords.txt

    # Punctuation tokens to remove
    ,
    .
    `
    -
    _
    =
    ?
    '
    |
    "
    (
    )
    {
    }
    [
    ]
    <
    >
    *
    #
    &
    ^
    $
    @
    !
    ~
    :
    ;
    +
    /
    \
    《
    》
    —
    -
    ,
    。
    、
    :
    ;
    !
    ·
    ?
    “
    ”
    )
    (
    【
    】
    [
    ]
    ●
    # the line below contains an IDEOGRAPHIC SPACE character (Used as a space in Chinese)
     
    
    # English Stop Words
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Sat Jun 17 08:00:22 UTC 2017
    - 310 bytes
    - Viewed (0)
Back to top