Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 148 for jwtm (0.06 sec)

  1. internal/config/identity/openid/jwt_test.go

    	"encoding/json"
    	"fmt"
    	"io"
    	"net/http"
    	"net/http/httptest"
    	"net/url"
    	"sync"
    	"testing"
    	"time"
    
    	jwtgo "github.com/golang-jwt/jwt/v4"
    	"github.com/minio/minio/internal/arn"
    	"github.com/minio/minio/internal/config"
    	jwtm "github.com/minio/minio/internal/jwt"
    	xnet "github.com/minio/pkg/v3/net"
    )
    
    func TestUpdateClaimsExpiry(t *testing.T) {
    	testCases := []struct {
    		exp             interface{}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. tests/integration/security/testdata/authz/jwt.yaml.tmpl

    ---
    
    # The following policy enables authorization on workload:
    # - Allow request principal ******@****.***/sub-1 to access path /token1
    # - Allow request in group-2 to access path /token2
    # - Allow request with any token to access path /tokenAny
    # - Allow request with permission claim of "write" or "append" to access path /permission
    # - Allow request with valid JWT token to access path /jwt1
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 23:36:51 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. pkg/jwt/jwt.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package jwt
    
    const (
    	PolicyThirdParty = "third-party-jwt"
    	PolicyFirstParty = "first-party-jwt"
    )
    
    type JwksFetchMode int
    
    const (
    	// Istiod is used to indicate Istiod ALWAYS fetches the JWKs server
    	Istiod JwksFetchMode = iota
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 25 00:53:18 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  4. cmd/jwt.go

    	"net/http"
    	"time"
    
    	jwtgo "github.com/golang-jwt/jwt/v4"
    	jwtreq "github.com/golang-jwt/jwt/v4/request"
    	"github.com/hashicorp/golang-lru/v2/expirable"
    	"github.com/minio/minio/internal/auth"
    	xjwt "github.com/minio/minio/internal/jwt"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v3/policy"
    )
    
    const (
    	jwtAlgorithm = "Bearer"
    
    	// Default JWT token for web handlers is one day.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. samples/jwt-server/jwt-server.yaml

    ---
    apiVersion: apps/v1
    kind: Deployment
    metadata:
      name: jwt-server
    spec:
      replicas: 1
      selector:
        matchLabels:
          app: jwt-server
      template:
        metadata:
          labels:
            app: jwt-server
        spec:
          containers:
          - image: gcr.io/istio-testing/jwt-server:0.8
            imagePullPolicy: IfNotPresent
            name: jwt-server
            volumeMounts:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 09:47:21 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. internal/config/identity/openid/jwt.go

    package openid
    
    import (
    	"context"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"io"
    	"net/http"
    	"sync"
    	"time"
    
    	jwtgo "github.com/golang-jwt/jwt/v4"
    	"github.com/minio/minio/internal/arn"
    	"github.com/minio/minio/internal/auth"
    	xnet "github.com/minio/pkg/v3/net"
    	"github.com/minio/pkg/v3/policy"
    )
    
    type publicKeys struct {
    	*sync.RWMutex
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 18:10:41 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  7. releasenotes/notes/extended-jwt.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: security
    releaseNotes:
    - |
      **Improved** request JWT authentication to use the upstream Envoy JWT filter
      instead of the custom Istio Proxy filter. Because the new upstream JWT filter
      capabilities are needed, the feature is gated for the proxies that support
      them. Note that a custom Envoy or Wasm filter that used `istio_authn` dynamic
      metadata key  needs to be updated to use `envoy.filters.http.jwt_authn`
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Nov 20 22:15:12 UTC 2023
    - 491 bytes
    - Viewed (0)
  8. releasenotes/notes/jwt-parsing.yaml

    apiVersion: release-notes/v2
    kind: bug-fix
    area: security
    
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Oct 13 18:16:22 UTC 2022
    - 184 bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top