Home
last modified time | relevance | path

Searched defs:authType (Results 1 – 25 of 164) sorted by relevance

1234567

/base/useriam/user_auth_framework/test/fuzztest/clients/eventlistenercallbackservice_fuzzer/
Devent_listener_callback_service_fuzzer.cpp35 void OnNotifyAuthSuccessEvent(int32_t userId, AuthType authType, int32_t callerType, in OnNotifyAuthSuccessEvent()
48 void OnNotifyCredChangeEvent(int32_t userId, AuthType authType, CredChangeEventType eventType, in OnNotifyCredChangeEvent()
64 AuthType authType = static_cast<AuthType>(parcel.ReadInt32()); in FuzzAddUserAuthSuccessEventListener() local
78 AuthType authType = static_cast<AuthType>(parcel.ReadInt32()); in FuzzRemoveUserAuthSuccessEventListener() local
93 AuthType authType = static_cast<AuthType>(parcel.ReadInt32()); in FuzzAddCredChangeEventListener() local
107 AuthType authType = static_cast<AuthType>(parcel.ReadInt32()); in FuzzRemoveCredChangeEventListener() local
129 AuthType authType = static_cast<AuthType>(parcel.ReadInt32()); in FuzzGetAuthEventListenerSet() local
146 AuthType authType = static_cast<AuthType>(parcel.ReadInt32()); in FuzzGetCredEventListenerSet() local
166 AuthType authType = static_cast<AuthType>(parcel.ReadInt32()); in FuzzOnNotifyAuthSuccessEvent() local
187 AuthType authType = static_cast<AuthType>(parcel.ReadInt32()); in FuzzOnNotifyCredChangeEvent() local
/base/account/os_account/frameworks/appaccount/native/src/
Dapp_account_manager.cpp28 …Code AppAccountManager::AddAccountImplicitly(const std::string &owner, const std::string &authType, in AddAccountImplicitly()
109const std::string &authType, const AAFwk::Want &options, const sptr<IAppAccountAuthenticatorCallba… in Authenticate()
115 …const std::string &name, const std::string &owner, const std::string &authType, std::string &token) in GetOAuthToken()
121 …const std::string &name, const std::string &owner, const std::string &authType, std::string &token) in GetAuthToken()
127 const std::string &name, const std::string &authType, const std::string &token) in SetOAuthToken()
133 …const std::string &name, const std::string &owner, const std::string &authType, const std::string … in DeleteOAuthToken()
139 …const std::string &name, const std::string &owner, const std::string &authType, const std::string … in DeleteAuthToken()
145 …const std::string &name, const std::string &authType, const std::string &bundleName, bool isVisibl… in SetOAuthTokenVisibility()
152 …const std::string &name, const std::string &authType, const std::string &bundleName, bool isVisibl… in SetAuthTokenVisibility()
159 …const std::string &name, const std::string &authType, const std::string &bundleName, bool &isVisib… in CheckOAuthTokenVisibility()
[all …]
Dapp_account_info.cpp143 std::string name, std::string authType, std::string callerBundleName) in AppAccountAuthenticatorStringInfo()
471 ErrCode AppAccountInfo::GetOAuthToken(const std::string &authType, std::string &token, const uint32… in GetOAuthToken() argument
490 ErrCode AppAccountInfo::SetOAuthToken(const std::string &authType, const std::string &token) in SetOAuthToken()
517 ErrCode AppAccountInfo::DeleteOAuthToken(const std::string &authType, const std::string &token) in DeleteOAuthToken()
530 ErrCode AppAccountInfo::DeleteAuthToken(const std::string &authType, const std::string &token, bool… in DeleteAuthToken()
547const std::string &authType, const std::string &bundleName, bool isVisible, const uint32_t apiVers… in SetOAuthTokenVisibility()
584const std::string &authType, const std::string &bundleName, bool &isVisible, const uint32_t apiVer… in CheckOAuthTokenVisibility() argument
617 const std::string &authType, std::set<std::string> &oauthList, const uint32_t apiVersion) const in GetOAuthList() argument
Dapp_account.cpp126 ErrCode AppAccount::AddAccountImplicitly(const std::string &owner, const std::string &authType, in AddAccountImplicitly()
370 …count::Authenticate(const std::string &name, const std::string &owner, const std::string &authType, in Authenticate()
394 …const std::string &name, const std::string &owner, const std::string &authType, std::string &token) in GetOAuthToken()
413 …const std::string &name, const std::string &owner, const std::string &authType, std::string &token) in GetAuthToken()
430 ErrCode AppAccount::SetOAuthToken(const std::string &name, const std::string &authType, const std::… in SetOAuthToken()
448 …const std::string &name, const std::string &owner, const std::string &authType, const std::string … in DeleteOAuthToken()
469 …const std::string &name, const std::string &owner, const std::string &authType, const std::string … in DeleteAuthToken()
489 const std::string &name, const std::string &authType, const std::string &bundleName) in CheckTokenVisibilityParam()
501 …const std::string &name, const std::string &authType, const std::string &bundleName, bool isVisibl… in SetAuthTokenVisibility()
517 …const std::string &name, const std::string &authType, const std::string &bundleName, bool isVisibl… in SetOAuthTokenVisibility()
[all …]
/base/useriam/user_auth_framework/frameworks/native/client/src/
Devent_listener_callback_service.cpp42 for (auto authType : authTypes) { in AddUserAuthSuccessEventListener() local
91 for (auto authType : authTypes) { in AddCredChangeEventListener() local
127 AuthType authType) in GetAuthEventListenerSet()
137 AuthType authType) in GetCredEventListenerSet()
161 int32_t authType, int32_t callerType, const std::string &callerName) in OnNotifyAuthSuccessEvent()
178 int32_t authType, int32_t eventType, const IpcCredChangeEventInfo &changeInfo) in OnNotifyCredChangeEvent()
Duser_auth_client_impl.cpp86 int32_t UserAuthClientImpl::GetAvailableStatus(AuthType authType, AuthTrustLevel authTrustLevel) in GetAvailableStatus()
111 int32_t UserAuthClientImpl::GetNorthAvailableStatus(int32_t apiVersion, AuthType authType, in GetNorthAvailableStatus()
137 int32_t UserAuthClientImpl::GetAvailableStatus(int32_t userId, AuthType authType, AuthTrustLevel au… in GetAvailableStatus()
368 AuthType authType, AuthTrustLevel atl, const std::shared_ptr<AuthenticationCallback> &callback) in BeginNorthAuthentication()
427 …t UserAuthClientImpl::BeginIdentification(const std::vector<uint8_t> &challenge, AuthType authType, in BeginIdentification()
688 int32_t UserAuthClientImpl::GetEnrolledState(int32_t apiVersion, AuthType authType, EnrolledState &… in GetEnrolledState()
774 for (auto &authType : authParam.authTypes) { in QueryReusableAuthResult() local
821 ipcGlobalConfigParam.authTypes.begin(), [](AuthType authType) { in InitIpcGlobalConfigParam()
835 ipcAuthParamInner.authTypes.begin(), [](AuthType authType) { in InitIpcAuthParam()
/base/useriam/user_auth_framework/services/load_mode/src/
Dload_mode_handler_default.cpp47 void LoadModeHandlerDefault::OnExecutorRegistered(AuthType authType, ExecutorRole executorRole) in OnExecutorRegistered()
53 void LoadModeHandlerDefault::OnExecutorUnregistered(AuthType authType, ExecutorRole executorRole) in OnExecutorUnregistered()
59 void LoadModeHandlerDefault::OnCredentialUpdated(AuthType authType) in OnCredentialUpdated()
Dload_mode_handler_dynamic.cpp54 std::string authType = want.GetStringParam("authType"); in OnReceiveEvent() local
146 void LoadModeHandlerDynamic::OnExecutorRegistered(AuthType authType, ExecutorRole executorRole) in OnExecutorRegistered()
157 void LoadModeHandlerDynamic::OnExecutorUnregistered(AuthType authType, ExecutorRole executorRole) in OnExecutorUnregistered()
204 void LoadModeHandlerDynamic::OnCredentialUpdated(AuthType authType) in OnCredentialUpdated()
/base/useriam/user_auth_framework/test/unittest/inner_api/src/
Devent_listener_callback_service_test.cpp49 int32_t authType = 1; variable
57 int32_t authType = 1; variable
/base/useriam/user_auth_framework/services/context/src/
Dwidget_context.cpp163 std::shared_ptr<ContextCallback> WidgetContext::GetAuthContextCallback(AuthType authType, in GetAuthContextCallback()
182 AuthType authType, AuthTrustLevel authTrustLevel, bool endAfterFirstFail, AuthIntent authIntent) in BuildTask()
253 void WidgetContext::AuthResult(int32_t resultCode, int32_t authType, const Attributes &finalResult) in AuthResult()
274 void WidgetContext::AuthTipInfo(int32_t tipType, int32_t authType, const Attributes &extraInfo) in AuthTipInfo()
306 for (auto &authType : authTypeList) { in ExecuteAuthList() local
410 for (auto &authType : authTypeList) { in StopAuthList() local
426 void WidgetContext::SuccessAuth(AuthType authType) in SuccessAuth()
439 void WidgetContext::FailAuth(AuthType authType) in FailAuth()
533 for (auto &authType : para_.authTypeList) { in ConnectExtension() local
793 void WidgetContext::SendAuthTipInfo(int32_t authType, int32_t tipCode) in SendAuthTipInfo()
[all …]
Dauth_widget_helper.cpp36 for (auto &authType : validType) { in InitWidgetContextParam() local
60 bool AuthWidgetHelper::GetUserAuthProfile(int32_t userId, const AuthType &authType, in GetUserAuthProfile()
113 bool AuthWidgetHelper::ParseAttributes(const Attributes &values, const AuthType &authType, in ParseAttributes()
/base/useriam/user_auth_framework/test/unittest/services/src/
Dwidget_context_callback_impl_test.cpp64 int32_t authType = 0; variable
77 int32_t authType = 0; variable
91 int32_t authType = 0; variable
/base/useriam/user_auth_framework/services/ipc/src/
Duser_auth_service.cpp56 int32_t GetTemplatesByAuthType(int32_t userId, AuthType authType, std::vector<uint64_t> &templateId… in GetTemplatesByAuthType()
98 void GetResourceNodeByTypeAndRole(AuthType authType, ExecutorRole role, in GetResourceNodeByTypeAndRole()
189 int32_t UserAuthService::GetAvailableStatus(int32_t apiVersion, int32_t userId, int32_t authType, in GetAvailableStatus()
197 int32_t UserAuthService::GetAvailableStatus(int32_t apiVersion, int32_t authType, uint32_t authTrus… in GetAvailableStatus()
205 …t32_t UserAuthService::GetAvailableStatusImpl(int32_t apiVersion, int32_t userId, int32_t authType, in GetAvailableStatusImpl()
218 int32_t UserAuthService::GetAvailableStatusImpl(int32_t apiVersion, int32_t authType, uint32_t auth… in GetAvailableStatusImpl()
239 …2_t UserAuthService::GetAvailableStatusInner(int32_t apiVersion, int32_t userId, AuthType authType, in GetAvailableStatusInner()
261 void UserAuthService::FillGetPropertyKeys(AuthType authType, const std::vector<Attributes::Attribut… in FillGetPropertyKeys()
273 void UserAuthService::FillGetPropertyValue(AuthType authType, const std::vector<Attributes::Attribu… in FillGetPropertyValue()
286 std::shared_ptr<ResourceNode> UserAuthService::GetResourseNode(AuthType authType) in GetResourseNode()
[all …]
/base/useriam/user_auth_framework/services/core/src/
Drisk_event_manager.cpp39 const AuthType authType, EventType event) in SetRiskEventPropertyForAuthType()
67 ResultCode RiskEventManager::SetAttributes(int32_t userId, const AuthType authType, in SetAttributes()
97 ResultCode RiskEventManager::GetTemplateIdList(int32_t userId, const AuthType authType, in GetTemplateIdList()
124 ResultCode RiskEventManager::GetStrongAuthExtraInfo(int32_t userId, const AuthType authType, in GetStrongAuthExtraInfo()
/base/account/os_account/frameworks/appaccount/native/include/
Dapp_account_info.h29 std::string authType; member
41 std::string authType; member
49 std::string authType; member
/base/account/os_account/services/accountmgr/test/mock/app_account/
Dmock_app_account_stub.cpp63 …ode MockAppAccountStub::AddAccountImplicitly(const std::string &owner, const std::string &authType, in AddAccountImplicitly()
215 …const std::string &name, const std::string &owner, const std::string &authType, std::string &token, in GetOAuthToken()
225 …const std::string &name, const std::string &owner, const std::string &authType, std::string &token, in GetAuthToken()
235 …const std::string &name, const std::string &authType, const std::string &token, int32_t &funcResul… in SetOAuthToken()
244 const std::string &authType, const std::string &token, int32_t &funcResult) in DeleteOAuthToken()
253 const std::string &authType, const std::string &token, int32_t &funcResult) in DeleteAuthToken()
261 …e MockAppAccountStub::SetOAuthTokenVisibility(const std::string &name, const std::string &authType, in SetOAuthTokenVisibility()
270 …de MockAppAccountStub::SetAuthTokenVisibility(const std::string &name, const std::string &authType, in SetAuthTokenVisibility()
279 …MockAppAccountStub::CheckOAuthTokenVisibility(const std::string &name, const std::string &authType, in CheckOAuthTokenVisibility()
288 … MockAppAccountStub::CheckAuthTokenVisibility(const std::string &name, const std::string &authType, in CheckAuthTokenVisibility()
[all …]
/base/useriam/user_auth_framework/test/unittest/services/mocks/
Dmock_resource_node.h62 …static std::shared_ptr<ResourceNode> CreateWithExecuteIndex(uint64_t executorId, AuthType authType, in CreateWithExecuteIndex()
89 …static std::shared_ptr<ResourceNode> CreateWithExecuteIndex(uint64_t executorId, AuthType authType, in CreateWithExecuteIndex()
Dmock_user_auth_service.h34 …int32_t GetAvailableStatus(int32_t apiVersion, int32_t authType, uint32_t authTrustLevel, int32_t … in GetAvailableStatus()
/base/account/os_account/interfaces/kits/napi/account_iam/src/
Dnapi_account_iam_inputer_manager.cpp51 napi_env env, napi_callback_info info, int32_t &authType, napi_ref &callback) in ParseContextForRegisterInputer()
89 int32_t authType = -1; in RegisterInputer() local
115 int32_t authType = -1; in UnregisterInputer() local
/base/useriam/user_auth_framework/test/fuzztest/services/userauthservice_fuzzer/
Duser_auth_service_fuzzer.cpp133 int32_t OnNotifyAuthSuccessEvent(int32_t userId, int32_t authType, int32_t callerType, in OnNotifyAuthSuccessEvent()
139 int32_t OnNotifyCredChangeEvent(int32_t userId, int32_t authType, int32_t eventType, in OnNotifyCredChangeEvent()
169 AuthType authType = static_cast<AuthType>(parcel.ReadInt32()); in FuzzGetResourseNode() local
183 int32_t authType = parcel.ReadInt32(); in FuzzGetEnrolledState() local
210 int32_t authType = parcel.ReadInt32(); in FuzzGetAvailableStatus() local
230 int32_t authType = parcel.ReadInt32(); in FuzzGetProperty() local
253 AuthType authType = static_cast<AuthType>(parcel.ReadInt32()); in FuzzSetProperty() local
330 int32_t authType = parcel.ReadInt32(); in FuzzIdentify() local
506 std::vector<int32_t> authType; in FuzzCheckValidSolution() local
560 std::vector<AuthType> authType = {PIN, FACE, FINGERPRINT}; in FuzzCheckAuthWidgetType() local
[all …]
/base/account/os_account/frameworks/account_iam/src/
Daccount_iam_info.cpp237 int32_t authType = 0; in ReadFromParcel() local
319 int32_t authType; in ReadFromParcel() local
368 int32_t authType; in ReadFromParcel() local
414 int32_t authType; in ReadFromParcel() local
/base/useriam/user_auth_framework/frameworks/cj/user_auth/src/
Duser_auth_ffi.cpp23 int32_t FfiUserAuthGetAvailableStatus(const uint32_t authType, const uint32_t authTrustLevel) in FfiUserAuthGetAvailableStatus()
30 int32_t FfiUserAuthGetEnrolledState(const uint32_t authType, EnrolledState *enrolledState) in FfiUserAuthGetEnrolledState()
/base/useriam/user_auth_framework/frameworks/js/napi/user_auth/src/
Duser_auth_impl.cpp68 AuthType authType = AuthType(type); in GetAvailableStatus() local
111 AuthType authType; in Execute() local
135 AuthType &authType, ResultCode &resultCode) in ParseExecuteAuthType()
205 int32_t authType; in Auth() local
267 ResultCode UserAuthImpl::CheckAuthTypeAndAuthTrustLevel(AuthType authType, AuthTrustLevel authTrust… in CheckAuthTypeAndAuthTrustLevel()
306 AuthType authType = AuthType(type); in GetEnrolledState() local
/base/useriam/user_auth_framework/frameworks/ets/ani/user_auth/src/
Duser_auth_callback_v10.cpp54 … int32_t result, const std::vector<uint8_t> &token, int32_t authType, EnrolledState enrolledState) in DoResultCallback()
93 int32_t authType = {0}; in OnResult() local
/base/account/os_account/frameworks/appaccount/cj/src/
Dappaccount_ffi.cpp122 …CString FfiAppAccountAppAccountManagerGetAuthToken(int id, char *name, char *owner, char *authType) in FfiAppAccountAppAccountManagerGetAuthToken()
132 int32_t FfiAppAccountAppAccountManagerSetAuthToken(int id, char *name, char *authType, char *token) in FfiAppAccountAppAccountManagerSetAuthToken()
141 …countAppAccountManagerDeleteAuthToken(int id, char *name, char *owner, char *authType, char *token) in FfiAppAccountAppAccountManagerDeleteAuthToken()
151 int id, char *name, char *authType, char *bundleName, bool isVisible) in FfiAppAccountAppAccountManagerSetAuthTokenVisibility()
161 int id, char *name, char *authType, char *bundleName, bool isVisible) in FfiAppAccountAppAccountManagerCheckAuthTokenVisibility()
181 RetDataCArrString FfiAppAccountAppAccountManagerGetAuthList(int id, char *name, char *authType) in FfiAppAccountAppAccountManagerGetAuthList()

1234567