discontinuedPackage thingsboard_pe_client has been discontinued and replaced by thingsboard_client.

SignUpControllerApi class

Constructors

SignUpControllerApi(Dio _dio, [Serializers? _serializers])
const

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

acceptPrivacyPolicy({CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future<Response<JwtPair>>
Accept privacy policy (acceptPrivacyPolicy) Accept privacy policy by the current user. Stores the acceptance flag 'privacyPolicyAccepted' and the acceptance time 'privacyPolicyAcceptedTs' (epoch milliseconds) in the user's additional info. Repeated acceptance overwrites the stored time.
acceptTermsOfUse({CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future<Response<JwtPair>>
Accept Terms of Use (acceptTermsOfUse) Accept Terms of Use by the current user. Stores the acceptance flag 'termsOfUseAccepted' and the acceptance time 'termsOfUseAcceptedTs' (epoch milliseconds) in the user's additional info. Repeated acceptance overwrites the stored time.
activateEmail({required String emailCode, String? pkgName, String? platform, CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future<Response<String>>
Activate User using code from Email (activateEmail) Activate the user using code(link) from the activation email. Validates the code an redirects according to the signup flow. Checks that user was not activated yet.
activateUserByEmailCode({required String emailCode, String? pkgName, String? platform, CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future<Response<JwtPair>>
Activate and login using code from Email (activateUserByEmailCode) Activate the user using code(link) from the activation email and return the JWT Token. Sends the notification and email about user activation. Checks that user was not activated yet.
mobileLogin({required String pkgName, required String platform, CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future<Response<String>>
Mobile Login redirect (mobileLogin) This method generates redirect to the special link that is handled by mobile application. Useful for email verification flow on mobile app.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
privacyPolicyAccepted({CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future<Response<bool>>
Check privacy policy (privacyPolicyAccepted) Checks that current user accepted the privacy policy.
resendEmailActivation({required String email, String? pkgName, String? platform, CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future<Response<void>>
Resend Activation Email (resendEmailActivation) Request to resend the activation email for a user who signed up through this domain or mobile application and has not verified the email yet.
signUp({required SignUpRequest signUpRequest, CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future<Response<SignUpResult>>
User Sign Up (signUp) Process user sign up request. Creates the Customer and corresponding User based on self Registration parameters for the domain. See Self Registration Controller for more details. The result is either 'SUCCESS' or 'INACTIVE_USER_EXISTS'. If Success, the user will receive an email with instruction to activate the account. The content of the email is customizable via the mail templates.
termsOfUseAccepted({CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future<Response<bool>>
Check Terms Of User (termsOfUseAccepted) Checks that current user accepted the privacy policy.
toString() → String
A string representation of this object.
inherited

Operators

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