Home
last modified time | relevance | path

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

1234

/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;
55 private static final Class<? extends Credentials> googleCredentialsClass
60 final Credentials creds;
65 public GoogleAuthLibraryCallCredentials(Credentials creds) { in GoogleAuthLibraryCallCredentials()
70 GoogleAuthLibraryCallCredentials(Credentials creds, JwtHelper jwtHelper) { in GoogleAuthLibraryCallCredentials()
242 private static Class<? extends Credentials> loadGoogleCredentialsClass() { in loadGoogleCredentialsClass()
252 return rawGoogleCredentialsClass.asSubclass(Credentials.class); in loadGoogleCredentialsClass()
257 private final Class<? extends Credentials> serviceAccountClass;
258 private final Constructor<? extends Credentials> jwtConstructor;
267 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.py66 credentials, google.auth.credentials.Credentials):
94 credentials, google.auth.credentials.Credentials):
114 credentials, google.auth.credentials.Credentials):
130 credentials, google.auth.credentials.Credentials):
144 and not isinstance(http.credentials, httplib2.Credentials)):
/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/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/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.py45 credentials = mock.Mock(spec=google.auth.credentials.Credentials)
53 google.auth.credentials.Credentials,
67 credentials = mock.Mock(spec=google.auth.credentials.Credentials)
101 credentials = mock.Mock(spec=oauth2client.client.Credentials)
118 credentials = mock.Mock(spec=oauth2client.client.Credentials)
153 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/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/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/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/sl4a/Common/src/com/googlecode/android_scripting/facade/
DCertInstallerHelper.java20 import android.security.Credentials;
179 String key = Credentials.USER_PRIVATE_KEY + profile.ipsecUserCert; in installCertificate()
190 String certName = Credentials.USER_CERTIFICATE + profile.ipsecUserCert; in installCertificate()
191 byte[] certData = Credentials.convertToPem(mUserCert); in installCertificate()
201 String caListName = Credentials.CA_CERTIFICATE + profile.ipsecCaCert; in installCertificate()
203 byte[] caListData = Credentials.convertToPem(caCerts); in installCertificate()
DVpnFacade.java38 import android.security.Credentials;
61 for (String key : keyStore.list(Credentials.VPN)) { in loadVpnProfiles()
62 final VpnProfile profile = VpnProfile.decode(key, keyStore.get(Credentials.VPN + key)); in loadVpnProfiles()
/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/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/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/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/grpc-grpc-java/auth/src/test/java/io/grpc/auth/
DGoogleAuthLibraryCallCredentialsTest.java31 import com.google.auth.Credentials;
83 private Credentials credentials;
122 Credentials mock = (Credentials) invocation.getMock(); in setUp()
278 final Credentials credentials = GoogleCredentials.create(token); in googleCredential_privacyAndIntegrityAllowed()
298 final Credentials credentials = GoogleCredentials.create(token); in googleCredential_integrityDenied()
317 final Credentials credentials = GoogleCredentials.create(token); in googleCredential_nullSecurityDenied()

1234