Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 183 for jwtm (0.08 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. 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. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. releasenotes/notes/no-1p-jwt.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: security
    releaseNotes:
      - |
        **Removed** the `first-party-jwt` legacy option for `values.global.jwtPolicy`. Support for the more secure `third-party-jwt`
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 02:55:50 UTC 2024
    - 288 bytes
    - Viewed (0)
Back to top