AuthenticationResult
public sealed interface AuthenticationResult
AuthenticationResult.Error |
A result when an error has been encountered and authentication has stopped. |
AuthenticationResult.Success |
A result when the user has successfully authenticated. |
Types of the terminal result of the authentication.
Summary
Nested types |
|---|
public final class AuthenticationResult.Error implements AuthenticationResultA result when an error has been encountered and authentication has stopped. |
public final class AuthenticationResult.Success implements AuthenticationResultA result when the user has successfully authenticated. |
Public methods |
|
|---|---|
default AuthenticationResult.Error |
error() |
default boolean |
isError()Whether this |
default boolean |
Whether this |
default AuthenticationResult.Success |
success() |
Public methods
isError
Added in 1.4.0-alpha04
default boolean isError()
Whether this AuthenticationResult is an Error.
isSuccess
Added in 1.4.0-alpha04
default boolean isSuccess()
Whether this AuthenticationResult is a Success.