Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for validateStorageRequestToken (0.16 sec)

  1. 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