Home
last modified time | relevance | path

Searched refs:auth (Results 1 - 14 of 14) sorted by relevance

/base/useriam/user_auth_framework/services/context/src/
H A Dcontext_factory.cpp39 auto auth = Common::MakeShared<AuthenticationImpl>(newContextId, para); in CreateSimpleAuthContext() local
40 IF_FALSE_LOGE_AND_RETURN_VAL(auth != nullptr, nullptr); in CreateSimpleAuthContext()
41 auth->SetChallenge(para.challenge); in CreateSimpleAuthContext()
42 auth->SetAccessTokenId(para.tokenId); in CreateSimpleAuthContext()
43 auth->SetEndAfterFirstFail(para.endAfterFirstFail); in CreateSimpleAuthContext()
44 return Common::MakeShared<SimpleAuthContext>(newContextId, auth, callback); in CreateSimpleAuthContext()
92 auto auth = Common::MakeShared<AuthenticationImpl>(newContextId, para); in CreateRemoteAuthContext() local
93 IF_FALSE_LOGE_AND_RETURN_VAL(auth != nullptr, nullptr); in CreateRemoteAuthContext()
94 auth->SetChallenge(para.challenge); in CreateRemoteAuthContext()
95 auth in CreateRemoteAuthContext()
[all...]
H A Dsimple_auth_context.cpp82 SimpleAuthContext::SimpleAuthContext(uint64_t contextId, std::shared_ptr<Authentication> auth, in SimpleAuthContext() argument
85 auth_(auth) in SimpleAuthContext()
89 SimpleAuthContext::SimpleAuthContext(const std::string &type, uint64_t contextId, std::shared_ptr<Authentication> auth, in SimpleAuthContext() argument
92 auth_(auth) in SimpleAuthContext()
119 IAM_LOGE("%{public}s auth start fail", GetDescription()); in OnStart()
162 IAM_LOGE("%{public}s auth stop fail", GetDescription()); in OnStop()
189 IAM_LOGE("%{public}s auth update fail", GetDescription()); in UpdateScheduleResult()
H A Dremote_auth_context.cpp82 RemoteAuthContext::RemoteAuthContext(uint64_t contextId, std::shared_ptr<Authentication> auth, in RemoteAuthContext() argument
84 : SimpleAuthContext("RemoteAuthContext", contextId, auth, callback), in RemoteAuthContext()
149 IAM_LOGI("%{public}s start remote auth", GetDescription()); in StartAuth()
183 IAM_LOGI("%{public}s start remote auth success, connectionName:%{public}s, scheduleId:%{public}s", in StartAuth()
/base/msdp/device_status/utils/common/src/
H A Ddevicestatus_permission.cpp33 int32_t auth = Security::AccessToken::AccessTokenKit::VerifyAccessToken(callingToken, permissionName); in CheckCallingPermission() local
34 if (auth != Security::AccessToken::TypePermissionState::PERMISSION_GRANTED) { in CheckCallingPermission()
/base/useriam/user_auth_framework/services/context/inc/
H A Dsimple_auth_context.h33 SimpleAuthContext(uint64_t contextId, std::shared_ptr<Authentication> auth,
35 SimpleAuthContext(const std::string &type, uint64_t contextId, std::shared_ptr<Authentication> auth,
H A Dremote_auth_context.h39 RemoteAuthContext(uint64_t contextId, std::shared_ptr<Authentication> auth, RemoteAuthContextParam &param,
/base/useriam/user_auth_framework/frameworks/js/napi/user_auth_icon/
H A Duser_auth_icon.js128 this.info('face auth available.');
134 this.info('finger auth available.');
147 this.info('current auth trust level is supported.');
151 this.error(`current auth trust level is not supported, error = ${t}.`);
198 this.error('auth timeout.');
210 this.info('auth before start.');
212 this.info('auth start success.');
217 this.error(`auth catch error, code: ${g.code}, message: ${g.message}`);
221 this.error('auth error.');
/base/useriam/user_auth_framework/test/fuzztest/services/context/remoteauthcontext_fuzzer/
H A Dremote_auth_context_fuzzer.cpp101 auto auth = MakeShared<AuthenticationImpl>(newContextId, para); in RemoteAuthContextFuzzTest() local
110 newContextId, auth, param, contextCallback in RemoteAuthContextFuzzTest()
/base/account/os_account/interfaces/kits/napi/appaccount/src/
H A Dnapi_app_account_authenticator.cpp60 jsAuthenticator_.auth in ~NapiAppAccountAuthenticator()
70 jsAuthenticator_.auth = nullptr; in ~NapiAppAccountAuthenticator()
199 if (jsAuthenticator_.auth == nullptr) { in Auth()
473 CallJsFunction(param->env, param->jsAuthenticator.auth, argv, ARGS_SIZE_FOUR); in AuthWork()
601 GetNamedFunction(env, thisVar, "auth", &jsAuthenticator.auth); in JsConstructor()
/base/account/os_account/interfaces/kits/napi/appaccount/include/
H A Dnapi_app_account_authenticator.h41 napi_ref auth = nullptr; member
/base/security/dlp_permission_service/interfaces/inner_api/dlp_permission/src/
H A Ddlp_permission_client.cpp177 int sandboxUid, const AAFwk::Want& want, SandBoxExternalAuthorType& auth) in GetSandboxExternalAuthorization()
188 auth = ALLOW_START_ABILITY; in GetSandboxExternalAuthorization()
201 return proxy->GetSandboxExternalAuthorization(sandboxUid, want, auth); in GetSandboxExternalAuthorization()
176 GetSandboxExternalAuthorization( int sandboxUid, const AAFwk::Want& want, SandBoxExternalAuthorType& auth) GetSandboxExternalAuthorization() argument
/base/account/os_account/interfaces/kits/napi/domain_account/include/
H A Dnapi_domain_account_manager.h33 napi_ref auth = nullptr; member
/base/useriam/user_auth_framework/test/unittest/services/src/
H A Dsimple_auth_context_test.cpp67 // Error: auth is null in HWTEST_F()
68 std::shared_ptr<Authentication> auth = nullptr; in HWTEST_F() local
70 auto oriContext = Common::MakeShared<SimpleAuthContext>(testContestId, auth, contextCallback); in HWTEST_F()
/base/account/os_account/interfaces/kits/napi/domain_account/src/
H A Dnapi_domain_account_manager.cpp583 ReleaseNapiRefAsync(env_, jsPlugin_.auth); in ~NapiDomainAccountPlugin()
584 jsPlugin_.auth = nullptr; in ~NapiDomainAccountPlugin()
643 param->func = jsPlugin_.auth; in AuthCommon()
900 DECLARE_NAPI_STATIC_FUNCTION("auth", Auth), in Init()
949 if (!GetNamedJsFunction(env, argv[0], "auth", jsPlugin.auth)) { in ParseContextForRegisterPlugin()

Completed in 11 milliseconds