Package io.grpc.auth
Class MoreCallCredentials
java.lang.Object
io.grpc.auth.MoreCallCredentials
A utility class that converts other types of credentials to
CallCredentials.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic io.grpc.CallCredentialsfrom(com.google.auth.Credentials creds) Converts a Google Auth LibraryCredentialstoCallCredentials.
-
Constructor Details
-
MoreCallCredentials
private MoreCallCredentials()
-
-
Method Details
-
from
public static io.grpc.CallCredentials from(com.google.auth.Credentials creds) Converts a Google Auth LibraryCredentialstoCallCredentials.Although this is a stable API, note that the returned instance's API is not stable. You are free to use the class name
CallCredentialsand pass the instance to other code, but the instance can't be called directly from code expecting stable behavior. SeeCallCredentials.
-