Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for JWTSignWithAccessKey (0.06 sec)

  1. internal/auth/credentials.go

    		return cred, err
    	}
    	cred.Expiration = time.Unix(expiry, 0).UTC()
    
    	cred.SessionToken, err = JWTSignWithAccessKey(cred.AccessKey, m, tokenSecret)
    	if err != nil {
    		return cred, err
    	}
    
    	return cred, nil
    }
    
    // JWTSignWithAccessKey - generates a session token.
    func JWTSignWithAccessKey(accessKey string, m map[string]any, tokenSecret string) (string, error) {
    	m["accessKey"] = accessKey
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.8K bytes
    - Viewed (0)
Back to top