MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / signNone

Method signNone

CodenameOne/src/com/codename1/security/Jwt.java:172–174  ·  view source on GitHub ↗
(Map<String, Object> claims)

Source from the content-addressed store, hash-verified

170 /// Builds an unsigned token (header `{"alg":"none"}`). Accepting these on
171 /// the verify side is dangerous -- see [#verifyAllowNoneAlgorithm].
172 public static String signNone(Map<String, Object> claims) {
173 return signingInput(NONE, claims) + ".";
174 }
175
176 // ================================================================
177 // parsing

Callers 2

invokeStatic5Method · 0.80

Calls 1

signingInputMethod · 0.95

Tested by 1