Home
last modified time | relevance | path

Searched refs:Credentials (Results 1 – 25 of 103) sorted by relevance

12345

/external/apache-http/src/org/apache/http/impl/client/
DBasicCredentialsProvider.java36 import org.apache.http.auth.Credentials;
60 private final HashMap<AuthScope, Credentials> credMap;
67 this.credMap = new HashMap<AuthScope, Credentials>(); in BasicCredentialsProvider()
82 final Credentials credentials) { in setCredentials()
97 private static Credentials matchCredentials( in matchCredentials()
98 final HashMap<AuthScope, Credentials> map, in matchCredentials()
101 Credentials creds = map.get(authscope); in matchCredentials()
129 public synchronized Credentials getCredentials(final AuthScope authscope) { in getCredentials()
/external/grpc-grpc-java/auth/src/main/java/io/grpc/auth/
DGoogleAuthLibraryCallCredentials.java21 import com.google.auth.Credentials;
54 private static final Class<? extends Credentials> googleCredentialsClass
59 final Credentials creds;
64 public GoogleAuthLibraryCallCredentials(Credentials creds) { in GoogleAuthLibraryCallCredentials()
69 GoogleAuthLibraryCallCredentials(Credentials creds, JwtHelper jwtHelper) { in GoogleAuthLibraryCallCredentials()
235 private static Class<? extends Credentials> loadGoogleCredentialsClass() { in loadGoogleCredentialsClass()
245 return rawGoogleCredentialsClass.asSubclass(Credentials.class); in loadGoogleCredentialsClass()
250 private final Class<? extends Credentials> serviceAccountClass;
251 private final Constructor<? extends Credentials> jwtConstructor;
260 serviceAccountClass = rawServiceAccountClass.asSubclass(Credentials.class); in JwtHelper()
[all …]
DMoreCallCredentials.java19 import com.google.auth.Credentials;
34 public static CallCredentials from(Credentials creds) { in from()
DClientAuthInterceptor.java19 import com.google.auth.Credentials;
49 private final Credentials credentials;
55 Credentials credentials, @SuppressWarnings("unused") Executor executor) { in ClientAuthInterceptor()
/external/python/google-api-python-client/googleapiclient/
D_auth.py68 if HAS_GOOGLE_AUTH and isinstance(credentials, google.auth.credentials.Credentials):
94 if HAS_GOOGLE_AUTH and isinstance(credentials, google.auth.credentials.Credentials):
113 if HAS_GOOGLE_AUTH and isinstance(credentials, google.auth.credentials.Credentials):
128 if HAS_GOOGLE_AUTH and isinstance(credentials, google.auth.credentials.Credentials):
143 http.credentials, httplib2.Credentials
/external/nist-sip/java/gov/nist/javax/sip/header/
DCredentials.java38 public class Credentials extends SIPObject { class
64 public Credentials() { in Credentials() method in Credentials
130 Credentials retval = (Credentials) super.clone(); in clone()
/external/python/oauth2client/tests/contrib/django_util/
Dtest_django_models.py28 from oauth2client.client import Credentials
38 self.credentials = Credentials()
47 self.field.to_python(self.pickle_str), Credentials)
51 self.field.to_python(self.credentials), Credentials)
59 self.assertIsInstance(value, Credentials)
/external/apache-http/src/org/apache/http/client/
DCredentialsProvider.java34 import org.apache.http.auth.Credentials;
60 void setCredentials(AuthScope authscope, Credentials credentials); in setCredentials()
70 Credentials getCredentials(AuthScope authscope); in getCredentials()
/external/python/google-api-python-client/tests/
Dtest__auth.py44 credentials = mock.Mock(spec=google.auth.credentials.Credentials)
52 google.auth.credentials.Credentials, google.auth.credentials.Scoped
66 credentials = mock.Mock(spec=google.auth.credentials.Credentials)
99 credentials = mock.Mock(spec=oauth2client.client.Credentials)
116 credentials = mock.Mock(spec=oauth2client.client.Credentials)
150 credentials = mock.Mock(spec=google.auth.credentials.Credentials)
/external/opencensus-java/exporters/trace/stackdriver/src/main/java/io/opencensus/exporter/trace/stackdriver/
DStackdriverTraceConfiguration.java19 import com.google.auth.Credentials;
43 public abstract Credentials getCredentials(); in getCredentials()
90 public abstract Builder setCredentials(Credentials credentials); in setCredentials()
DStackdriverExporter.java19 import com.google.auth.Credentials;
56 Credentials credentials, String projectId) throws IOException { in createAndRegisterWithCredentialsAndProjectId()
/external/python/google-api-python-client/docs/
Doauth.md84 …n) function of the `Flow` class exchanges an authorization code for a `Credentials` object. The cr…
94 ## Credentials section in OAuth 2.0
96Credentials` object holds refresh and access tokens that authorize access to a single user's data.…
98 **Note**: Credentials can be automatically detected in Google App Engine and Google Compute Engine.…
100 ### User Credentials argument
102 …entials.Credentials](https://google-auth.readthedocs.io/en/latest/reference/google.oauth2.credenti…
104 ### Service Account Credentials argument
106 …unt.Credentials](https://google-auth.readthedocs.io/en/latest/reference/google.oauth2.service_acco…
111 credentials = service_account.Credentials.from_service_account_file(
118 ### Using Credentials argument
/external/apache-http/src/org/apache/http/auth/
DAuthState.java56 private Credentials credentials;
107 public Credentials getCredentials() { in getCredentials()
117 public void setCredentials(final Credentials credentials) { in setCredentials()
/external/opencensus-java/exporters/stats/stackdriver/src/main/java/io/opencensus/exporter/stats/stackdriver/
DStackdriverStatsConfiguration.java20 import com.google.auth.Credentials;
44 public abstract Credentials getCredentials(); in getCredentials()
109 public abstract Builder setCredentials(Credentials credentials); in setCredentials()
/external/python/oauth2client/tests/contrib/
Dtest__appengine_ndb.py100 creds = client.Credentials()
104 self.assertIsInstance(retrieved.creds, client.Credentials)
109 creds_val = client.Credentials()
133 creds = client.Credentials()
153 self.assertIsInstance(creds, client.Credentials)
/external/apache-http/src/org/apache/http/impl/auth/
DBasicScheme.java37 import org.apache.http.auth.Credentials;
136 final Credentials credentials, in authenticate()
160 final Credentials credentials, in authenticate()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DCredentials.java22 public final class Credentials { class
23 private Credentials() { in Credentials() method in Credentials
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
DCredentials.java24 public final class Credentials { class
25 private Credentials() { in Credentials() method in Credentials
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/http/
DAuthenticatorAdapter.java21 import com.android.okhttp.Credentials;
52 String credential = Credentials.basic(auth.getUserName(), new String(auth.getPassword())); in authenticate()
76 String credential = Credentials.basic(auth.getUserName(), new String(auth.getPassword())); in authenticateProxy()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DAuthenticatorAdapter.java20 import com.squareup.okhttp.Credentials;
50 String credential = Credentials.basic(auth.getUserName(), new String(auth.getPassword())); in authenticate()
74 String credential = Credentials.basic(auth.getUserName(), new String(auth.getPassword())); in authenticateProxy()
/external/python/oauth2client/oauth2client/contrib/
D_appengine_ndb.py106 if value is not None and not isinstance(value, client.Credentials):
141 credentials = client.Credentials.new_from_json(value)
/external/opencensus-java/exporters/trace/stackdriver/src/test/java/io/opencensus/exporter/trace/stackdriver/
DStackdriverTraceConfigurationTest.java21 import com.google.auth.Credentials;
33 private static final Credentials FAKE_CREDENTIALS =
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/
DAuthenticate.java19 import com.squareup.okhttp.Credentials;
34 String credential = Credentials.basic("jesse", "password1"); in run()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DVpnFacade.java22 import android.security.Credentials;
60 for (String key : LegacyVpnProfileStore.list(Credentials.VPN)) { in loadVpnProfiles()
62 LegacyVpnProfileStore.get(Credentials.VPN + key)); in loadVpnProfiles()
/external/apache-http/src/org/apache/http/client/protocol/
DRequestProxyAuthentication.java45 import org.apache.http.auth.Credentials;
93 Credentials creds = authState.getCredentials(); in process()

12345