Auth class
Constructors
- Auth(String applicationUrl, MocoOpts? opt, HttpRequestClass httpClient)
Properties
- appsOrigin ↔ String
-
getter/setter pair
- appsUrl ↔ String
-
getter/setter pair
- client ↔ HttpRequestClass
-
getter/setter pair
- encryptMode ↔ bool
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- prefixAccessToken ↔ String
-
getter/setter pair
- prefixExpiryToken ↔ String
-
getter/setter pair
- prefixRefreshToken ↔ String
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
checkEmail(
String email) → Future< CheckEmailResponse> -
forgotPassword(
String email) → Future< String> -
getOauthUrl(
String provider) → Future< GetOuathResponse> -
getOauthUrl : get oauth url for login social media
provider
string enum "facebook", "google", "twitter", "apple" -
login(
Object data) → Future< LoginResponse> -
Login Moco
data
{} -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
redoOauth(
String provider) → Future< String?> - redoOauth only for google and facebook
-
register(
Object data) → Future< RegisterResponse> -
resendVerification(
String email) → Future< String> -
resetPassword(
String token, String newPassword) → Future< ResetPasswordResponse> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited