MCPcopy Index your code
hub / github.com/chain/Core / hasAccessToken

Method hasAccessToken

sdk/java/src/main/java/com/chain/http/Client.java:258–260  ·  view source on GitHub ↗

Returns true if a client access token stored in the client. @return a boolean

()

Source from the content-addressed store, hash-verified

256 * @return a boolean
257 */
258 public boolean hasAccessToken() {
259 return this.accessToken != null && !this.accessToken.isEmpty();
260 }
261
262 /**
263 * Returns the client access token (possibly null).

Callers 3

postMethod · 0.95
buildCredentialsMethod · 0.95
hashCodeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected