Authentication Result
A sealed class that encapsulates the status of initiating the authentication process.
This sealed class consist of two data classes representing success and failure states. The Success class contains an ExamerUser object, which represents the user who was successfully authenticated. The Failure class contains the FailureType which can be used to infer the type of failure.
Types
Link copied to clipboard
data class Failure(val failureType: AuthenticationResult.FailureType) : AuthenticationResult
Content copied to clipboard
Link copied to clipboard
An enum consisting of all the different types of failures related to AuthenticationService
Link copied to clipboard