Astra Unity 2.6.6
Astra Unity Plugin
Astra.Net.ForgotPasswordJob Class Reference

Job which handles the call to ask for a password reset. Returns a boolean indicating a success, or an AuthError if an error occured while attempting to complete this job. More...

Inheritance diagram for Astra.Net.ForgotPasswordJob:

Public Member Functions

override Auth.AuthError GetError ()
 When the job is complete this function can be called by the developer to access the error data set which can be of any type (defined as T2). This needs to be defined if your derived class as an override. More...
 
override bool GetResult ()
 When the job is complete this function can be called by the developer to access the result data set which can be of any type (defined as T1). This needs to be defined if your derived class as an override. More...
 
- Public Member Functions inherited from Astra.ApiJobWithResult< bool, Auth.AuthError >
IEnumerator AsCoroutine (Action< float > progress=null, Action< T1 > onComplete=null, Action< T2 > onFailed=null)
 Wraps a job to be used within a coroutine More...
 

Detailed Description

Job which handles the call to ask for a password reset. Returns a boolean indicating a success, or an AuthError if an error occured while attempting to complete this job.

Member Function Documentation

◆ GetError()

override Auth.AuthError Astra.Net.ForgotPasswordJob.GetError ( )
inlinevirtual

When the job is complete this function can be called by the developer to access the error data set which can be of any type (defined as T2). This needs to be defined if your derived class as an override.

Returns
Yields the error result data

Implements Astra.ApiJobWithResult< bool, Auth.AuthError >.

◆ GetResult()

override bool Astra.Net.ForgotPasswordJob.GetResult ( )
inlinevirtual

When the job is complete this function can be called by the developer to access the result data set which can be of any type (defined as T1). This needs to be defined if your derived class as an override.

Returns
Yields the success result data

Implements Astra.ApiJobWithResult< bool, Auth.AuthError >.


The documentation for this class was generated from the following file: