crypto/jwx.go
Method Crypto.SignJWS
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (client *Crypto) SignJWS(ctx context.Context, payload []byte, headers map[string]interface{}, key interface{}, detached bool) (string, error) {
Function signJWS
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func signJWS(payload []byte, protectedHeaders map[string]interface{}, privateKey crypto.Signer, alg jwa.SignatureAlgorithm, detachedPayload bool) (string, error) {