public class SignatureCallCredentials
extends io.grpc.CallCredentials
| Constructor and Description |
|---|
SignatureCallCredentials(String appKey,
String appSecret,
byte[] requestBytes) |
SignatureCallCredentials(String appKey,
String appSecret,
String host,
Integer port,
String url,
byte[] requestBytes) |
SignatureCallCredentials(String appKey,
String appSecret,
String host,
Integer port,
String url,
byte[] requestBytes,
Signer signer) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyRequestMetadata(io.grpc.CallCredentials.RequestInfo requestInfo,
Executor executor,
io.grpc.CallCredentials.MetadataApplier applier) |
SignatureCallCredentials |
setUserId(String userId)
Set user ID
|
void |
thisUsesUnstableApi() |
public SignatureCallCredentials(String appKey, String appSecret, byte[] requestBytes)
public SignatureCallCredentials(String appKey, String appSecret, String host, Integer port, String url, byte[] requestBytes)
public SignatureCallCredentials setUserId(String userId)
userId - user IDpublic void applyRequestMetadata(io.grpc.CallCredentials.RequestInfo requestInfo,
Executor executor,
io.grpc.CallCredentials.MetadataApplier applier)
applyRequestMetadata in class io.grpc.CallCredentialspublic void thisUsesUnstableApi()
thisUsesUnstableApi in class io.grpc.CallCredentialsCopyright © 2025 Webull. All rights reserved.