/ohos5.0/base/account/os_account/frameworks/account_iam/src/ |
H A D | account_iam_client.cpp | 215 return AuthUser(authOptions, challenge, authType, authTrustLevel, callback); in Auth() 219 AuthOptions &authOptions, const std::vector<uint8_t> &challenge, AuthType authType, in AuthUser() argument 231 if ((!authOptions.hasRemoteAuthOptions) && (authOptions.accountId == -1) && in AuthUser() 232 (!GetCurrentUserId(authOptions.accountId))) { in AuthUser() 237 return StartDomainAuth(authOptions.accountId, callback); in AuthUser() 245 authParam.userId = authOptions.accountId; in AuthUser() 246 authParam.authIntent = authOptions.authIntent; in AuthUser() 247 if (authOptions.hasRemoteAuthOptions) { in AuthUser() 249 if (authOptions.remoteAuthOptions.hasVerifierNetworkId) { in AuthUser() 252 if (authOptions.remoteAuthOptions.hasCollectorNetworkId) { in AuthUser() [all …]
|
/ohos5.0/base/account/os_account/interfaces/kits/napi/account_iam/src/ |
H A D | napi_account_iam_user_auth.cpp | 347 static bool ParseContextForAuthOptions(napi_env env, napi_value jsOptions, AuthOptions &authOptions) in ParseContextForAuthOptions() argument 362 env, jsOptions, "accountId", authOptions.accountId, authOptions.hasAccountId)) { in ParseContextForAuthOptions() 376 authOptions.authIntent = static_cast<AuthIntent>(authIntent); in ParseContextForAuthOptions() 380 if (!ParseContextForRemoteAuthOptions(env, value, authOptions.remoteAuthOptions)) { in ParseContextForAuthOptions() 384 authOptions.hasRemoteAuthOptions = true; in ParseContextForAuthOptions() 385 if (!authOptions.hasAccountId) { in ParseContextForAuthOptions() 386 authOptions.accountId = -1; in ParseContextForAuthOptions() 418 if (!ParseContextForAuthOptions(env, argv[index++], context.authOptions)) { in ParseContextForAuth() 466 if ((!context.authOptions.hasRemoteAuthOptions) && (context.authOptions.hasAccountId) && in Auth() 467 (!IsAccountIdValid(context.authOptions.accountId))) { in Auth() [all …]
|
/ohos5.0/base/account/os_account/test/fuzztest/iamaccount/authuser_fuzzer/ |
H A D | authuser_fuzzer.cpp | 49 AuthOptions authOptions; in AuthUserFuzzTest() local 50 authOptions.accountId = userId; in AuthUserFuzzTest() 52 authOptions, challenge, authType, authTrustLevel, callback); in AuthUserFuzzTest()
|
/ohos5.0/base/account/os_account/test/fuzztest/iamaccount/auth_fuzzer/ |
H A D | auth_fuzzer.cpp | 47 AuthOptions authOptions; in AuthFuzzTest() local 48 uint64_t result = AccountIAMClient::GetInstance().Auth(authOptions, in AuthFuzzTest()
|
/ohos5.0/base/account/os_account/frameworks/account_iam/test/unittest/src/ |
H A D | account_iam_client_test.cpp | 647 AuthOptions authOptions; variable 666 AuthOptions authOptions; variable 667 AccountIAMClient::GetInstance().Auth(authOptions, 1156 AuthOptions authOptions; variable 1158 authOptions.hasRemoteAuthOptions = true; 1181 AuthOptions authOptions; variable 1183 authOptions.hasRemoteAuthOptions = true; 1184 authOptions.remoteAuthOptions.hasVerifierNetworkId = true; 1186 authOptions.remoteAuthOptions.hasCollectorNetworkId = true; 1188 authOptions.remoteAuthOptions.hasCollectorTokenId = true; [all …]
|
H A D | account_iam_client_no_permission_test.cpp | 361 AuthOptions authOptions; variable 362 authOptions.accountId = TEST_USER_ID; 364 authOptions, TEST_CHALLENGE, AuthType::PIN, AuthTrustLevel::ATL1, callback);
|
/ohos5.0/base/account/os_account/frameworks/test/unittest/ |
H A D | account_iam_proxy_mock_test.cpp | 207 AuthOptions authOptions; variable 208 authOptions.accountId = TEST_USER_ID; 210 authOptions, TEST_CHALLENGE, AuthType::PIN, AuthTrustLevel::ATL1, testCallback));
|
/ohos5.0/base/account/os_account/interfaces/innerkits/account_iam/native/include/ |
H A D | account_iam_client.h | 155 … uint64_t Auth(AuthOptions& authOptions, const std::vector<uint8_t> &challenge, AuthType authType, 168 …uint64_t AuthUser(AuthOptions &authOptions, const std::vector<uint8_t> &challenge, AuthType authTy…
|
/ohos5.0/base/account/os_account/interfaces/kits/napi/account_iam/include/ |
H A D | napi_account_iam_common.h | 120 AccountSA::AuthOptions authOptions; member
|