func SetJWSHeader(entries map[string]interface{}) JWSHeaderOpt {
	return func(current map[string]interface{}) map[string]interface{} {
		result := map[string]interface{}{}
		for key, value := range current {
			// not concurrently accessed, delete should be sufficient.
			result[key] = value
		}

		for key, value := range entries {
			result[key] = value
		}
		return result
	}
}
// SetJWSHeader provides an option which modifies an existing JWT by
// setting specified keys on its header.
SetJWSHeader provides an option which modifies an existing JWT by
setting specified keys on its header.
// SetJWSHeader provides an option which modifies an existing JWT by // setting specified keys on its header .
func SetJWSHeader(entries map[string]interface{}) JWSHeaderOpt {
	return func(current map[string]interface{}) map[string]interface{} {
		result := map[string]interface{}{}
		for key, value := range current {
			result[key] = value
		}
		for key, value := range entries {
			result[key] = value
		}
		return result
	}
}
func SetJWSHeader ( entries map [ string ] interface { } ) JWSHeaderOpt { return func ( current map [ string ] interface { } ) map [ string ] interface { } { result := map [ string ] interface { } { } for key , value := range current { result [ key ] = value } for key , value := range entries { result [ key ] = value } return result } }
SetJWSHeader provides an option which modifies an existing JWT by
setting specified keys on its header.
SetJWSHeader provides an option which modifies an existing JWT by setting specified keys on its header .
// not concurrently accessed, delete should be sufficient.