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