Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 311 for jwtm (0.06 sec)

  1. 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)
  2. docs/zh/docs/tutorial/security/oauth2-jwt.md

    ```
    
    JWT 字符串没有加密,任何人都能用它恢复原始信息。
    
    但 JWT 使用了签名机制。接受令牌时,可以用签名校验令牌。
    
    使用 JWT 创建有效期为一周的令牌。第二天,用户持令牌再次访问时,仍为登录状态。
    
    令牌于一周后过期,届时,用户身份验证就会失败。只有再次登录,才能获得新的令牌。如果用户(或第三方)篡改令牌的过期时间,因为签名不匹配会导致身份验证失败。
    
    如需深入了解 JWT 令牌,了解它的工作方式,请参阅 <a href="https://jwt.io/" class="external-link" target="_blank">https://jwt.io</a>。
    
    ## 安装 `python-jose`
    
    安装 `python-jose`,在 Python 中生成和校验 JWT 令牌:
    
    <div class="termy">
    
    ```console
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Jan 11 21:21:35 UTC 2024
    - 9.2K 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. security/tools/jwt/samples/gen-jwt.py

    # limitations under the License.
    
    """Python script generates a JWT signed with custom private key.
    
    Example:
    ./gen-jwt.py  --iss example-issuer --aud foo,bar --claims=email:******@****.***,dead:beef key.pem -listclaim key1 val2 val3 -listclaim key2 val3 val4
    """
    from __future__ import print_function
    import argparse
    import copy
    import time
    
    from jwcrypto import jwt, jwk
    
    
    def main(args):
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 11 16:38:57 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  5. security/tools/jwt/sa-jwt.py

    # limitations under the License.
    
    """Python script generates a JWT signed by a Google service account
    
    Example:
    ./sa-jwt.py  --iss example-issuer --aud foo,bar --claims=email:******@****.***,dead:beef key.json
    """
    from __future__ import print_function
    import argparse
    import time
    
    import google.auth.crypt
    import google.auth.jwt
    
    
    def main(args):
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Sep 14 20:15:07 UTC 2019
    - 2.6K bytes
    - Viewed (0)
  6. 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)
  7. tests/integration/security/policy_attachment_only/testdata/requestauthn/gateway-jwt.yaml.tmpl

      jwtRules:
      - issuer: "******@****.***"
        jwksUri: "https://raw.githubusercontent.com/istio/istio/master/tests/common/jwt/jwks.json"
      - issuer: "******@****.***"
        jwksUri: "https://raw.githubusercontent.com/istio/istio/master/tests/common/jwt/jwks.json"
    ---
    apiVersion: security.istio.io/v1beta1
    kind: RequestAuthentication
    metadata:
      name: ignored-{{ .To.ServiceName }}
    spec:
      selector:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 05 21:52:53 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  8. tests/integration/security/testdata/requestauthn/gateway-jwt.yaml.tmpl

      jwtRules:
      - issuer: "******@****.***"
        jwksUri: "https://raw.githubusercontent.com/istio/istio/master/tests/common/jwt/jwks.json"
      - issuer: "******@****.***"
        jwksUri: "https://raw.githubusercontent.com/istio/istio/master/tests/common/jwt/jwks.json"
    ---
    apiVersion: security.istio.io/v1beta1
    kind: RequestAuthentication
    metadata:
      name: ignored-{{ .To.ServiceName }}
    spec:
      selector:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 05 21:52:53 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  9. releasenotes/notes/jwt-route.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: security
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Nov 05 19:57:32 UTC 2021
    - 145 bytes
    - Viewed (0)
  10. tests/integration/ambient/testdata/requestauthn/waypoint-jwt.yaml.tmpl

        name: waypoint
      jwtRules:
      - issuer: "******@****.***"
        jwksUri: "https://raw.githubusercontent.com/istio/istio/master/tests/common/jwt/jwks.json"
      - issuer: "******@****.***"
        jwksUri: "https://raw.githubusercontent.com/istio/istio/master/tests/common/jwt/jwks.json"
    ---
    apiVersion: security.istio.io/v1beta1
    kind: RequestAuthentication
    metadata:
      name: ignored-{{ .To.ServiceName }}
    spec:
      selector:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 15 16:23:36 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top