Package io.grpc.auth

Class MoreCallCredentials


  • public final class MoreCallCredentials
    extends Object
    A utility class that converts other types of credentials to CallCredentials.
    • Method Detail

      • from

        public static CallCredentials from​(com.google.auth.Credentials creds)
        Converts a Google Auth Library Credentials to CallCredentials.

        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. See CallCredentials.