Class GoogleCredentialsProvider

    • Constructor Detail

      • GoogleCredentialsProvider

        public GoogleCredentialsProvider()
    • Method Detail

      • getScopesToApply

        public abstract java.util.List<java.lang.String> getScopesToApply()
      • getJwtEnabledScopes

        @BetaApi
        public abstract java.util.List<java.lang.String> getJwtEnabledScopes()
      • getUseJwtAccessWithScope

        @BetaApi
        public abstract boolean getUseJwtAccessWithScope()
      • getCredentials

        public com.google.auth.Credentials getCredentials()
                                                   throws java.io.IOException
        Description copied from interface: CredentialsProvider
        Gets the credentials which will be used to call the service. If the credentials have not been acquired yet, then they will be acquired when this function is called.
        Specified by:
        getCredentials in interface CredentialsProvider
        Throws:
        java.io.IOException