DipClient class

Constructors

DipClient(dynamic envKey)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

accessIdentity({required String identityId, Map<String, dynamic>? accessParams, bool? returnValues}) Future
addResources({String? userName, required List<Map<String, dynamic>> resources}) Future<List<Map<String, dynamic>>>
addToGroup({required String groupCategory, required String groupName, required String memberType, required String memberId, required String memberName, Map<String, dynamic>? groupCreateParams, Map<String, dynamic>? joinAttrs}) Future
Adds a member to the group. Possible memberType (at the time of this writing) are:
authAppleGetToken({required String authorizationCode, required bool useBundleId}) Future
authAppleMobile({required String accessToken, String? userNamePrefix}) Future
authenticate({required String userName, required String password}) Future
authKakaoMobile({required String accessToken, String? userNamePrefix}) Future
authNaverMobile({required String accessToken, String? userNamePrefix}) Future
checkUserName({required String userName}) Future
clearAuthInfo() → void
createGroup({required String category, required String name, String? groupOwner, Map<String, dynamic>? attrs, bool? useInlineMembers = true}) Future
Creates a group that can hold various kinds of entities such as identity and identity template
createIdentity({required String category, String? identityOwner, String? redirectIdentity, String? redirectUrl, Map<String, dynamic>? acl, Map<String, dynamic>? attrs, Map<String, dynamic>? dattrs, Map<String, dynamic>? resources, dynamic accessNotifyPolicy, bool? isTemporary, List<String>? extensions}) Future
createUser({required String userName, required String password, required String name, String? mobile, String? mobileVerification}) Future
deleteGroup({required String groupCategory, required String groupName}) Future
Deletes a group
deleteIdentity({required String identityId}) Future
deleteUser({required String userName}) Future
findGroups({required String category, String? name, String? namePrefix, dynamic lastKey}) Future
Find groups that matches to the given criteria. 'name' parameter is for exact match and can result in only one group returned but 'namePrefix' parameter can result in multiple groups returned. 'name' and 'namePrefix' parameters are mutually exclusive and only either of them can be specified (not both).
findUserName({required String mobile, required String name, String? userNamePrefix, String? smsHeader}) Future
getAuthInfo() AuthInfo?
getGroupMembers({required String groupCategory, required String groupName, dynamic lastKey}) Future
Returns all members of the group. If there are too many members to be returned from a single call of this API, 'lastKey' is returned in addition to the 'members' and the 'lastKey' can be used for the next call to retrieve more members.
getGroups({required List<Map> groupKeys}) Future
getIdentities({required List<String> identityIds}) Future
getIdentitiesByUser({required String userName, num? tFrom, num? tUntil, bool? isTemporary}) Future
getLinkedIdentities({required String targetIdentityId, dynamic lastKey}) Future
Returns all linked identities of the given target identity. If there are too many identities to be returned from a single call of this API, 'lastKey' is returned in addition to the 'identities' and the 'lastKey' can be used for the next call to retrieve more identities.
getLinkedIdentityNums({required List<String> targetIdentityIds}) Future
Returns the numbers of linked identities for given target identity IDs
getRedirectInfo({required String identityId}) Future
return redirect information (redirectIdentity, redirectUrl) about identity if any
getResources({required List<String> resourceIds}) Future<List<Map<String, dynamic>>>
getResourcesByTag({required String tag}) Future<List<Map<String, dynamic>>>
getResourceStatus({required List<String> resourceIds}) Future<List<Map<String, dynamic>>>
getSeqNum({required String seqName}) Future
Gets a sequence number for the given sequence name. It's guaranteed that the returned number of unique across all invocations of this API for the given sequence name. However, multiple clients may invoke this API for the same sequence name, so invoking this API multiple times may NOT result in consecutive numbers.
getUser({required String userName}) Future
linkIdentity({required String identityId, required String targetIdentityId, Map<String, dynamic>? linkAttrs}) Future
link an identity to another identity so that if the first identity is accessed, the second identity (linked one; targetIdentityId) is presented instead.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
refreshToken({required String rtoken}) Future
removeFromGroup({required String groupCategory, required String groupName, required String memberType, required String memberName}) Future
Removes a member from the group. Possible memberType (at the time of this writing) are:
requestMobileVerification({required String mobile, String? smsHeader, String? userName}) Future
resetPassword({required String userName, required String mobile, required String mobileVerification, required String newPassword}) Future
submitMobileVerification({required String mobile, required String verificationCode}) Future
toString() String
A string representation of this object.
inherited
unlinkAll({required String targetIdentityId}) Future
Unlink all identities linked to the given identity
unlinkIdentity({required String identityId, required String targetIdentityId}) Future
Reverse the effect of linkIdentity API
updateIdentity({required String identityId, required List updates}) Future
updateUser({required String userName, required List updates}) Future

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

API_URL_BASE String
getter/setter pair
ENV_DEV String
getter/setter pair
ENV_INT String
getter/setter pair
ENV_PRD String
getter/setter pair