to Base64Url
Converts the value to a Base64Url-encoded string.
Return
The Base64Url-encoded string.
Note: If the value type is unsupported for this conversion, the method will throw an exception.
Parameters
padding
Determines whether the resulting Base64 string should be padded or not. Default is false.