DirectAuthResult
A Java-friendly result type that wraps a successful value or a failure exception.
Unlike Kotlin's kotlin.Result (which is a value class with JVM limitations), this class is a standard class that Java callers can use directly.
Type Parameters
T
The type of the successful value.