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

Method setAccessToken

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

Sets the access token for the client @param accessToken The access token for the Chain Core or HSM

(String accessToken)

Source from the content-addressed store, hash-verified

665 * @param accessToken The access token for the Chain Core or HSM
666 */
667 public Builder setAccessToken(String accessToken) {
668 this.accessToken = accessToken;
669 return this;
670 }
671
672 /**
673 * Sets the client's certificate and key for TLS client authentication.

Callers 3

generateClientMethod · 0.80
ClientMethod · 0.80
mainMethod · 0.80

Calls

no outgoing calls

Tested by 1

generateClientMethod · 0.64