Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 112 for jwtm (0.04 sec)

  1. pkg/serviceaccount/jwt.go

    }
    
    func (j *jwtTokenGenerator) GenerateToken(claims *jwt.Claims, privateClaims interface{}) (string, error) {
    	// claims are applied in reverse precedence
    	return jwt.Signed(j.signer).
    		Claims(privateClaims).
    		Claims(claims).
    		Claims(&jwt.Claims{
    			Issuer: j.iss,
    		}).
    		CompactSerialize()
    }
    
    // JWTTokenAuthenticator authenticates tokens as JWT tokens produced by JWTTokenGenerator
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 27 22:16:08 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/security/oauth2-jwt.md

    Da wir nun über den gesamten Sicherheitsablauf verfügen, machen wir die Anwendung tatsächlich sicher, indem wir <abbr title="JSON Web Tokens">JWT</abbr>-Tokens und sicheres Passwort-Hashing verwenden.
    
    Diesen Code können Sie tatsächlich in Ihrer Anwendung verwenden, die Passwort-Hashes in Ihrer Datenbank speichern, usw.
    
    Wir bauen auf dem vorherigen Kapitel auf.
    
    ## Über JWT
    
    JWT bedeutet „JSON Web Tokens“.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:27:06 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/security/oauth2-jwt.md

    Now that we have all the security flow, let's make the application actually secure, using <abbr title="JSON Web Tokens">JWT</abbr> tokens and secure password hashing.
    
    This code is something you can actually use in your application, save the password hashes in your database, etc.
    
    We are going to start from where we left in the previous chapter and increment it.
    
    ## About JWT
    
    JWT means "JSON Web Tokens".
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. docs/ja/docs/tutorial/security/oauth2-jwt.md

    JWTの仕様では、トークンのsubjectを表すキー`sub`があるとされています。
    
    使用するかどうかは任意ですが、`sub`はユーザーの識別情報を入れるように規定されているので、ここで使用します。
    
    JWTは、ユーザーを識別して、そのユーザーがAPI上で直接操作を実行できるようにする以外にも、他の用途で使用されることがあります。
    
    例えば、「車」や「ブログ記事」を識別することができます。
    
    そして、「ドライブ」(車の場合)や「編集」(ブログの場合)など、そのエンティティに関する権限も追加できます。
    
    また、JWTトークンをユーザー(またはボット)に渡すことができます。ユーザーは、JWTトークンを使用するだけで、アカウントを持っていなくても、APIが生成したJWTトークンを使ってそれらの行動(車の運転、ブログ投稿の編集)を実行できるのです。
    
    これらのアイデアを使用すると、JWTをより高度なシナリオに使用できます。
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Jan 11 21:21:35 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. pkg/kubeapiserver/options/authentication_test.go

    							"kind":"AuthenticationConfiguration",
    							"jwt1":[{"issuer":{"url": "https://test-issuer"}}]}`)
    			},
    			expectErr: `unknown field "jwt1"`,
    		},
    		{
    			name: "v1alpha1 - json",
    			file: func() string {
    				return writeTempFile(t, `{
    							"apiVersion":"apiserver.config.k8s.io/v1alpha1",
    							"kind":"AuthenticationConfiguration",
    							"jwt":[{"issuer":{"url": "https://test-issuer"}}]}`)
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 36.5K bytes
    - Viewed (0)
  6. pkg/security/security.go

    	// identity.
    	WorkloadKeyCertResourceName = "default"
    
    	// GCE is Credential fetcher type of Google plugin
    	GCE = "GoogleComputeEngine"
    
    	// JWT is a Credential fetcher type that reads from a JWT token file
    	JWT = "JWT"
    
    	// Mock is Credential fetcher type of mock plugin
    	Mock = "Mock" // testing only
    
    	// GoogleCAProvider uses the Google CA for workload certificate signing
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1beta1/types.go

    	// other authenticators may run before or after the JWT authenticators.
    	// The specific position of JWT authenticators in relation to other
    	// authenticators is neither defined nor stable across releases.  Since
    	// each JWT authenticator must have a unique issuer URL, at most one
    	// JWT authenticator will attempt to cryptographically validate the token.
    	//
    	// The minimum valid JWT payload must contain the following claims:
    	// {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 17:59:05 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1alpha1/types.go

    	// other authenticators may run before or after the JWT authenticators.
    	// The specific position of JWT authenticators in relation to other
    	// authenticators is neither defined nor stable across releases.  Since
    	// each JWT authenticator must have a unique issuer URL, at most one
    	// JWT authenticator will attempt to cryptographically validate the token.
    	//
    	// The minimum valid JWT payload must contain the following claims:
    	// {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 17:59:05 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  9. tests/common/jwt/jwt_token.go

    // limitations under the License.
    
    // package jwt includes sample JWT Token used in e2e tests.
    package jwt
    
    const (
    	// Payload {
    	//  "exp": 4715782722,
    	//  "groups": [
    	//    "group-1"
    	//  ],
    	//  "iat": 1562182722,
    	//  "iss": "******@****.***",
    	//  "sub": "sub-1"
    	// }
    	// Generated by: security/tools/jwt/samples/gen-jwt.py tests/common/jwt/key.pem -jwks=tests/common/jwt/jwks.json
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 23:36:51 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. tests/integration/security/jwt_test.go

    	"istio.io/istio/pkg/test/framework/label"
    	"istio.io/istio/tests/common/jwt"
    )
    
    // TestRequestAuthentication tests beta authn policy for jwt.
    func TestRequestAuthentication(t *testing.T) {
    	payload1 := strings.Split(jwt.TokenIssuer1, ".")[1]
    	payload2 := strings.Split(jwt.TokenIssuer2, ".")[1]
    	payload3 := strings.Split(jwt.TokenIssuer1WithNestedClaims2, ".")[1]
    	framework.NewTest(t).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 25.3K bytes
    - Viewed (0)
Back to top