Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. cmd/sts-handlers.go

    				ldapUserDN, strings.Join(groupDistNames, "`,`")))
    		return
    	}
    
    	expiryDur, err := globalIAMSys.LDAPConfig.GetExpiryDuration(r.Form.Get(stsDurationSeconds))
    	if err != nil {
    		writeSTSErrorResponse(ctx, w, ErrSTSInvalidParameterValue, err)
    		return
    	}
    
    	claims[expClaim] = UTCNow().Add(expiryDur).Unix()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 34.7K bytes
    - Viewed (2)
Back to top