Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for validateStorageRequestToken (0.11 sec)

  1. cmd/grid.go

    			&tls.Config{
    				RootCAs:          globalRootCAs,
    				CipherSuites:     fips.TLSCiphers(),
    				CurvePreferences: fips.TLSCurveIDs(),
    			}),
    		Local:        local,
    		Hosts:        hosts,
    		AuthToken:    validateStorageRequestToken,
    		AuthFn:       newCachedAuthToken(),
    		BlockConnect: globalGridStart,
    		// Record incoming and outgoing bytes.
    		Incoming:  globalConnStats.incInternodeInputBytes,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. cmd/storage-rest-server.go

    	}
    	w.Write([]byte(err.Error()))
    }
    
    // DefaultSkewTime - skew time is 15 minutes between minio peers.
    const DefaultSkewTime = 15 * time.Minute
    
    // validateStorageRequestToken will validate the token against the provided audience.
    func validateStorageRequestToken(token string) error {
    	claims := xjwt.NewStandardClaims()
    	if err := xjwt.ParseWithStandardClaims(token, claims, []byte(globalActiveCred.SecretKey)); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 45.7K bytes
    - Viewed (0)
Back to top