| /credentials/credentials-play-services-auth/src/androidTest/java/androidx/credentials/playservices/controllers/utils/ |
| D | CreatePublicKeyCredentialControllerTestUtils.kt | 24 import org.json.JSONArray 25 import org.json.JSONException 26 import org.json.JSONObject 221 val json = JSONObject() in createJsonObjectFromPublicKeyCredentialCreationOptions() constant 222 configureRpAndUser(options, json) in createJsonObjectFromPublicKeyCredentialCreationOptions() 223 configureChallengeParamsAndTimeout(options, json) in createJsonObjectFromPublicKeyCredentialCreationOptions() 224 configureDescriptors(options, json) in createJsonObjectFromPublicKeyCredentialCreationOptions() 225 configureSelectionCriteriaAndAttestation(options, json) in createJsonObjectFromPublicKeyCredentialCreationOptions() 227 return json in createJsonObjectFromPublicKeyCredentialCreationOptions() 232 json: JSONObject in configureSelectionCriteriaAndAttestation() [all …]
|
| /credentials/credentials/src/main/java/androidx/credentials/webauthn/ |
| D | PublicKeyCredentialRequestOptions.kt | 20 import org.json.JSONObject 24 val json: JSONObject constant 32 json = JSONObject(requestJson) 34 val challengeString = json.getString("challenge") 36 timeout = json.optLong("timeout", 0) 37 rpId = json.optString("rpId", "") 38 userVerification = json.optString("userVerification", "preferred")
|
| D | PublicKeyCredentialCreationOptions.kt | 21 import org.json.JSONObject 25 val json: JSONObject constant 38 json = JSONObject(requestJson) 39 val challengeString = json.getString("challenge") 41 val rpJson = json.getJSONObject("rp") 43 val rpUser = json.getJSONObject("user") 51 val pubKeyCredParamsJson = json.getJSONArray("pubKeyCredParams") 61 timeout = json.optLong("timeout", 0) 65 attestation = json.optString("attestation", "none")
|
| D | FidoPublicKeyCredential.kt | 20 import org.json.JSONObject 29 fun json(): String { in json() method in androidx.credentials.webauthn.FidoPublicKeyCredential 38 ret.put("response", response.json()) in json()
|
| D | AuthenticatorResponse.kt | 20 import org.json.JSONObject 26 fun json(): JSONObject method
|
| D | AuthenticatorAttestationResponse.kt | 21 import org.json.JSONArray 22 import org.json.JSONObject 92 override fun json(): JSONObject { in json() method in androidx.credentials.webauthn.AuthenticatorAttestationResponse
|
| D | AuthenticatorAssertionResponse.kt | 21 import org.json.JSONObject 83 override fun json(): JSONObject { in json() method in androidx.credentials.webauthn.AuthenticatorAssertionResponse
|
| /credentials/credentials-play-services-auth/src/androidTest/java/androidx/credentials/playservices/controllers/identityauth/createpublickeycredential/ |
| D | PublicKeyCredentialControllerUtilityTest.kt | 26 import org.json.JSONArray in <lambda>() 27 import org.json.JSONException in <lambda>() 28 import org.json.JSONObject in <lambda>() 160 val json = JSONObject() in <lambda>() constant 169 json in <lambda>() 172 var response = json.getJSONObject(PublicKeyCredentialControllerUtility.JSON_KEY_RESPONSE) in <lambda>() 184 var json = in <lambda>() variable 205 var output = PublicKeyCredentialControllerUtility.convertJSON(json) in <lambda>() 221 var json = in <lambda>() variable 242 assertThrows<JSONException> { PublicKeyCredentialControllerUtility.convertJSON(json) } in <lambda>() [all …]
|
| D | CredentialProviderCreatePublicKeyCredentialControllerTest.kt | 31 import org.json.JSONException in <lambda>() 32 import org.json.JSONObject in <lambda>()
|
| D | CredentialProviderCreatePublicKeyCredentialControllerJavaTest.java | 52 import org.json.JSONException; 53 import org.json.JSONObject;
|
| /credentials/credentials/src/androidTest/java/androidx/credentials/webauthn/ |
| D | PublicKeyCredentialRequestOptionsTest.kt | 33 val json = in constructor() constant 42 var options = PublicKeyCredentialRequestOptions(json) in constructor() 53 val json = in constructor_optionalTimeout() constant 61 var options = PublicKeyCredentialRequestOptions(json) in constructor_optionalTimeout() 72 val json = in constructor_optionalRpId() constant 80 var options = PublicKeyCredentialRequestOptions(json) in constructor_optionalRpId() 91 val json = in constructor_optionalUserVerification() constant 99 var options = PublicKeyCredentialRequestOptions(json) in constructor_optionalUserVerification()
|
| D | AuthenticatorAttestationResponseTest.kt | 68 var json = response.json() in constructor() variable 71 assertThat(json.getString("attestationObject")) in constructor() 73 assertThat(json.getString("transports")).isEqualTo("[\"internal\",\"hybrid\"]") in constructor()
|
| D | AuthenticatorAssertionResponseTest.kt | 54 var json = response.json() in constructor() variable 57 assertThat(json.getString("authenticatorData")).isEqualTo(WebAuthnUtils.b64Encode(authData)) in constructor() 58 assertThat(json.getString("userHandle")).isEqualTo(WebAuthnUtils.b64Encode(rawUserHandle)) in constructor()
|
| D | PublicKeyCredentialCreationOptionsTest.kt | 33 val json = in constructor() constant 56 var options = PublicKeyCredentialCreationOptions(json) in constructor() 72 val json = in constructor_withoutAttestation() constant 94 var options = PublicKeyCredentialCreationOptions(json) in constructor_withoutAttestation()
|
| D | FidoPublicKeyCredentialTest.kt | 22 import org.json.JSONObject 33 override fun json(): JSONObject { in json() method in androidx.credentials.webauthn.FidoPublicKeyCredentialTest.TestAuthenticatorResponse 46 val output = JSONObject(cred.json()) in constructor()
|
| /credentials/credentials-play-services-auth/src/main/java/androidx/credentials/playservices/controllers/identityauth/createpublickeycredential/ |
| D | PublicKeyCredentialControllerUtility.kt | 73 import org.json.JSONArray 74 import org.json.JSONException 75 import org.json.JSONObject 164 internal fun convertJSON(json: JSONObject): PublicKeyCredentialCreationOptions { in convertJSON() 167 parseRequiredChallengeAndUser(json, builder) in convertJSON() 168 parseRequiredRpAndParams(json, builder) in convertJSON() 170 parseOptionalWithRequiredDefaultsAttestationAndExcludeCredentials(json, builder) in convertJSON() 172 parseOptionalTimeout(json, builder) in convertJSON() 173 parseOptionalAuthenticatorSelection(json, builder) in convertJSON() 174 parseOptionalExtensions(json, builder) in convertJSON() [all …]
|
| D | CredentialProviderCreatePublicKeyCredentialController.kt | 45 import org.json.JSONException in <lambda>()
|
| /credentials/credentials/src/main/java/androidx/credentials/ |
| D | CreateRestoreCredentialRequest.kt | 22 import org.json.JSONObject 71 val json = JSONObject(requestJson) in getDisplayInfoFromJson() constant 72 val userJson = json.getJSONObject("user") in getDisplayInfoFromJson()
|
| D | CreatePublicKeyCredentialRequest.kt | 25 import org.json.JSONObject 219 val json = JSONObject(requestJson) in getRequestDisplayInfo() constant 220 val user = json.getJSONObject("user") in getRequestDisplayInfo()
|
| /credentials/credentials/src/main/java/androidx/credentials/internal/ |
| D | RequestValidationHelper.kt | 20 import org.json.JSONObject
|
| /credentials/credentials/src/main/java/androidx/credentials/provider/utils/ |
| D | RequestValidationUtil.kt | 20 import org.json.JSONObject
|
| D | PrivilegedApp.kt | 20 import org.json.JSONObject
|
| /credentials/credentials-play-services-auth/src/androidTest/java/androidx/credentials/playservices/ |
| D | TestUtils.kt | 22 import org.json.JSONArray 23 import org.json.JSONObject
|
| /credentials/credentials/src/main/java/androidx/credentials/provider/ |
| D | CallingAppInfo.kt | 31 import org.json.JSONException 32 import org.json.JSONObject
|