setCustomParameter

fun setCustomParameter(key: String, value: Any?): OAuth2Method.Options

Adds (or removes) a custom parameter to this Options instance with a custom value.

Return

This Options instance updated, so that other set... methods can be chained

Parameters

key

The name of the custom parameter to set

value

The value of the custom parameter to add, or null to remove the custom parameter