OAuthResult

@Serializable
data class OAuthResult(val signIn: SignIn? = null, val signUp: SignUp? = null)

The result of an SSO operation.

Constructors

Link copied to clipboard
constructor(signIn: SignIn? = null, signUp: SignUp? = null)

Types

Link copied to clipboard
sealed interface Outcome

What an SSO operation produced.

Properties

Link copied to clipboard

The result as a closed set of cases, each carrying its non-null resource. A signIn takes precedence over a signUp, matching resultType.

Link copied to clipboard

Convenience property to determine the type of result.

Link copied to clipboard

The sign-in object if the SSO operation resulted in a sign-in.

Link copied to clipboard

The sign-up object if the SSO operation resulted in a sign-up.