SecurityService class

Inheritance

Constructors

SecurityService.new({required EnvBase env, Client? client})

Properties

client ↔ Client
getter/setter pairinherited
env EnvBase
finalinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

changePassword(ChangePasswordData data) Future
This requests a passwrod change for the current authenticated user
changePin(ChangePinData data) Future
This requests a pin change for the current authenticated user When the user has the pin is already set in the user
createPin({required String pin, required String repin, required String smscode}) Future
This requests to create/set the pin initially for the current authenticated user When the user has no pin set already
delete(Uri url) Future
inherited
get(Uri url) Future<Map<String, dynamic>>
inherited
getHeaders({String contentType = 'application/json', String accept = 'application/json'}) Future<Map<String, String>>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onResponse(Response response) FutureOr<Map<String, dynamic>>
inherited
post(Uri uri, Map<String, dynamic>? body) Future<Map<String, dynamic>>
inherited
put(Uri uri, Map data) Future<Map<String, dynamic>>
inherited
toString() String
A string representation of this object.
inherited

Operators

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