Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for JWTSignWithAccessKey (0.07 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]interface{}, tokenSecret string) (string, error) {
    	m["accessKey"] = accessKey
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 28 17:14:16 UTC 2024
    - 12K bytes
    - Viewed (0)
Back to top