Home
last modified time | relevance | path

Searched refs:authorization (Results 1 – 25 of 180) sorted by relevance

12345678

/external/nist-sip/java/gov/nist/javax/sip/clientauthutils/
DAuthenticationHelperImpl.java229 AuthorizationHeader authorization = null; in handleChallenge() local
236 authorization = this.getAuthorization(reoriginatedRequest in handleChallenge()
250 authorization = this.getAuthorization(reoriginatedRequest in handleChallenge()
257 "Created authorization header: " + authorization.toString()); in handleChallenge()
261 authorization, cacheTime); in handleChallenge()
263 reoriginatedRequest.addHeader(authorization); in handleChallenge()
312 AuthorizationHeader authorization = null; in getAuthorization() local
315 authorization = headerFactory.createProxyAuthorizationHeader(authHeader in getAuthorization()
318 authorization = headerFactory.createAuthorizationHeader(authHeader.getScheme()); in getAuthorization()
321 authorization.setUsername(userCredentials.getUserName()); in getAuthorization()
[all …]
DCredentialsCache.java62 AuthorizationHeader authorization, int cacheTime) { in cacheAuthorizationHeader() argument
63 String user = authorization.getUsername(); in cacheAuthorizationHeader()
65 if ( authorization == null) throw new NullPointerException("Null authorization domain"); in cacheAuthorizationHeader()
72 String realm = authorization.getRealm(); in cacheAuthorizationHeader()
81 authHeaders.add(authorization); in cacheAuthorizationHeader()
/external/python/cpython2/Lib/
DCGIHTTPServer.py172 authorization = self.headers.getheader("authorization")
173 if authorization:
174 authorization = authorization.split()
175 if len(authorization) == 2:
177 env['AUTH_TYPE'] = authorization[0]
178 if authorization[0].lower() == "basic":
180 authorization = base64.decodestring(authorization[1])
184 authorization = authorization.split(':')
185 if len(authorization) == 2:
186 env['REMOTE_USER'] = authorization[0]
/external/grpc-grpc-java/auth/src/test/java/io/grpc/auth/
DGoogleAuthLibraryCallCredentialsTest.java163 Iterable<String> authorization = headers.getAll(AUTHORIZATION); in copyCredentialsToHeaders() local
165 Iterables.toArray(authorization, String.class)); in copyCredentialsToHeaders()
243 Iterable<String> authorization = headerList.get(1).getAll(AUTHORIZATION); in credentialsReturnNullMetadata() local
244 assertArrayEquals(new String[]{"token1"}, Iterables.toArray(authorization, String.class)); in credentialsReturnNullMetadata()
270 Iterable<String> authorization = headers.getAll(AUTHORIZATION); in oauth2Credential() local
272 Iterables.toArray(authorization, String.class)); in oauth2Credential()
290 Iterable<String> authorization = headers.getAll(AUTHORIZATION); in googleCredential_privacyAndIntegrityAllowed() local
292 Iterables.toArray(authorization, String.class)); in googleCredential_privacyAndIntegrityAllowed()
374 String[] authorization = Iterables.toArray(headers.getAll(AUTHORIZATION), String.class); in serviceAccountToJwt() local
375 assertEquals(1, authorization.length); in serviceAccountToJwt()
[all …]
DClientAuthInterceptorTest.java122 Iterable<String> authorization = headers.getAll(AUTHORIZATION); in testCopyCredentialToHeaders() local
124 Iterables.toArray(authorization, String.class)); in testCopyCredentialToHeaders()
162 Iterable<String> authorization = headers.getAll(AUTHORIZATION); in testWithOAuth2Credential() local
164 Iterables.toArray(authorization, String.class)); in testWithOAuth2Credential()
/external/python/google-api-python-client/docs/
Doauth-installed.md10 … manages the OAuth 2.0 flow both for authentication and for obtaining authorization to Google APIs…
20authorization code to your application, either in the title bar of the browser or in the query str…
28 - The authorization code can be returned to your application in the title bar of the browser or in …
49 …http://localhost`. The value your application uses determines how the authorization code is return…
53authorization code should be returned as a query string parameter to the web server on the client.…
59 This value signals to the Google Authorization Server that the authorization code should be returne…
61authorization code. It is then up to your application to close the browser window if you want to e…
68 …at the OAuth 2.0 server generates won't instruct the user to copy the authorization code, but inst…
70 …(by checking window titles on the desktop, for example) to obtain the authorization code, but can'…
84 …the client object to perform OAuth 2.0 operations, such as generating authorization request URIs a…
[all …]
Doauth-web.md3 …s use the Google API Client Library for Python to implement OAuth 2.0 authorization to access Goog…
5 This OAuth 2.0 flow is specifically for user authorization. It is designed for applications that ca…
7 …ific data. Web server applications can use service accounts in conjunction with user authorization.
19 ### Create authorization credentials
21 Any application that uses OAuth 2.0 to access Google APIs must have authorization credentials that …
38 endpoints</a> so that your application does not expose authorization
50 Before you start implementing OAuth 2.0 authorization, we recommend that you identify the scopes th…
52 …recommend that your application request access to authorization scopes via an incremental authoriz…
Dstart.md13 ## Authentication and authorization
15 It is important to understand the basics of how API authentication and authorization are handled. A…
30 …s tokens**: When a user grants your application access, the OAuth 2.0 authorization server provide…
162 # scope. It assists with OAuth 2.0 steps to get user authorization and
184 # When you redirect to the authorization server below, it redirects back
207 # with a response that redirects the browser to the authorization server.
220 # the authorization server
224 """Handles the redirection back from the authorization server."""
229 # Before we redirected to the authorization server, we set a cookie to save
238 # We take the code provided by the authorization server and pass it to the
[all …]
Doauth.md7 OAuth 2.0 is the authorization protocol used by Google APIs. It is summarized on the [Authenticatio…
63 …ion of the `Flow` class is used to generate the authorization server URI. Once you have the author…
70 …n access, the authorization server immediately redirects again to `redirect_uri`. If the user has …
80 …the `Flow` class exchanges an authorization code for a `Credentials` object. Pass the `code` provi…
168 …quire credentials. It takes a `Flow` argument and attempts to open an authorization server page in…
Dauth.md3authorization, and accounting are accomplished. For all API calls, your application needs to be au…
7 It is important to understand the basics of how API authentication and authorization are handled. A…
23 …s tokens:** When a user grants your application access, the OAuth 2.0 authorization server provide…
Dgoogle_app_engine.md17 … can display a page explaining why the user is being redirected to an authorization server. This d…
21authorization server back to your application. This handler takes care of the final OAuth 2.0 step…
85 # Write a page explaining why authorization is needed,
/external/autotest/client/site_tests/platform_Pkcs11ChangeAuthData/
Dcontrol7 PURPOSE = "Tests changing authorization data for a PKCS #11 token."
8 CRITERIA = "Fails if token does not correctly change authorization data."
16 This tests changing authorization data for a PKCS #11 token.
/external/python/cpython3/Lib/http/
Dserver.py1098 authorization = self.headers.get("authorization")
1099 if authorization:
1100 authorization = authorization.split()
1101 if len(authorization) == 2:
1103 env['AUTH_TYPE'] = authorization[0]
1104 if authorization[0].lower() == "basic":
1106 authorization = authorization[1].encode('ascii')
1107 authorization = base64.decodebytes(authorization).\
1112 authorization = authorization.split(':')
1113 if len(authorization) == 2:
[all …]
/external/openssh/regress/
Dssh-com.sh43 AuthorizationFile authorization
64 cp /dev/null ${OBJ}/${USER}/authorization
67 echo Key $t.com >> ${OBJ}/${USER}/authorization
/external/nist-sip/java/gov/nist/javax/sip/parser/
DAuthorizationParser.java47 public AuthorizationParser(String authorization) { in AuthorizationParser() argument
48 super(authorization); in AuthorizationParser()
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/
Dhpack_tables.txt27 | 23 | authorization | |
53 | 49 | proxy-authorization | |
/external/curl/tests/data/
Dtest204041 HTTP Basic authorization, then without authorization
Dtest10714 # authorization header, but using HTTP 1.0, not 1.1.
73 Downgraded HTTP PUT to HTTP 1.0 with authorization
Dtest89239 POP3 plain authentication with alternative authorization identity
Dtest84837 IMAP plain authentication with alternative authorization identity
Dtest84928 IMAP plain authentication with alternative authorization identity (Not authorized)
/external/ltp/testcases/commands/tpm-tools/tpm/tpm_restrictpubek/
D00_Descriptions.txt6 tpm_getpubek requires owner authorization to read the pubek
/external/selinux/dbus/
Dorg.selinux.conf14 authorization is performed by PolicyKit -->
/external/oauth/core/src/main/java/net/oauth/
DOAuthMessage.java360 public static List<OAuth.Parameter> decodeAuthorization(String authorization) { in decodeAuthorization() argument
362 if (authorization != null) { in decodeAuthorization()
363 Matcher m = AUTHORIZATION.matcher(authorization); in decodeAuthorization()
/external/cros/system_api/dbus/cryptohome/
Dkey.proto90 // authorization attempts and/or a limit on the number of such attempts are
94 // If true, the key is "locked" after too many unsuccessful authorization
125 // At present, only support for one authorization mechanism is implemented.

12345678