Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 311 for jwtm (0.04 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top