GrpcEmptyCallCredentials
Available in a dev version: 0․11․0-grpc-186
How to configure
A call credential that performs no authentication.
This is useful as a no-op placeholder or for disabling authentication in specific scenarios. Since it performs no authentication, it does not require transport security.
Example
val credentials = if (useAuth) {
BearerTokenCredentials(token)
} else {
GrpcEmptyCallCredentials
}Content copied to clipboard