Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getUser (0.28 sec)

  1. cmd/jwt.go

    	}
    	claims := xjwt.NewMapClaims()
    	if err := xjwt.ParseWithClaims(token, claims, func(claims *xjwt.MapClaims) ([]byte, error) {
    		if claims.AccessKey != globalActiveCred.AccessKey {
    			u, ok := globalIAMSys.GetUser(req.Context(), claims.AccessKey)
    			if !ok {
    				// Credentials will be invalid but for disabled
    				// return a different error in such a scenario.
    				if u.Credentials.Status == auth.AccountOff {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:14 GMT 2024
    - 5.4K bytes
    - Viewed (0)
Back to top