BearerTokenCredentials
//d1-client-java/io.cybercrypt.d1.credentials/BearerTokenCredentials
BearerTokenCredentials
[d1]\ public class BearerTokenCredentials
CallCredentials to use when providing a raw token.
Constructors
BearerTokenCredentials | [d1] public voidBearerTokenCredentials(Stringtoken) Creates an instance of CallCredentials that is later propagated to server via request metadata for each request. |
Functions
Name | Summary |
---|---|
applyRequestMetadata | [d1] public voidapplyRequestMetadata(RequestInforequestInfo, Executorexecutor, MetadataAppliermetadataApplier) |
getToken | [d1] public StringgetToken() Get the bearer token. |
thisUsesUnstableApi | [d1] public voidthisUsesUnstableApi() |
Properties
Name | Summary |
---|---|
token | [d1] public final Stringtoken |