MCPcopy Create free account
hub / github.com/jwtk/jjwt / read

Method read

impl/src/main/java/io/jsonwebtoken/impl/JwtTokenizer.java:33–40  ·  view source on GitHub ↗
(Reader r, char[] buf)

Source from the content-addressed store, hash-verified

31 "exactly 2 period characters, and compact JWEs must contain exactly 4. Found: ";
32
33 private static int read(Reader r, char[] buf) {
34 try {
35 return r.read(buf);
36 } catch (IOException e) {
37 String msg = "Unable to read compact JWT: " + e.getMessage();
38 throw new MalformedJwtException(msg, e);
39 }
40 }
41
42 @SuppressWarnings("unchecked")
43 public <T extends TokenizedJwt> T tokenize(Reader reader) {

Callers 1

tokenizeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected