MCPcopy Index your code
hub / github.com/ccxt/ccxt / Base64urlEncode

Method Base64urlEncode

java/lib/src/main/java/io/github/ccxt/base/Crypto.java:94–99  ·  view source on GitHub ↗
(Object value)

Source from the content-addressed store, hash-verified

92 }
93
94 public static String Base64urlEncode(Object value) {
95 final String b64 = (value instanceof byte[])
96 ? BinaryToBase64((byte[]) value)
97 : BinaryToBase64(toUtf8(value));
98 return Base64ToBase64Url(b64, true);
99 }
100
101 private static final ObjectMapper M = new ObjectMapper();
102 private static String json(Object o) {

Callers 1

JwtMethod · 0.95

Calls 3

BinaryToBase64Method · 0.95
toUtf8Method · 0.95
Base64ToBase64UrlMethod · 0.95

Tested by

no test coverage detected