SolidSignInResult

sealed class SolidSignInResult

The outcome of an AuthorizeWithSolid launch.

Inheritors

Types

Link copied to clipboard
data class Authorized(val webId: String, val grant: AppGrant) : SolidSignInResult

The user picked an account and granted this app access to it. Use webId for every subsequent SDK call. grant is what the user approved, which may be narrower or wider than the AccessRequest that was sent; an app that needs a scope the user withheld can explain why and launch the contract again.

Link copied to clipboard

The user dismissed the picker without granting anything. Not an error.

Link copied to clipboard
data class Failed(val exception: SolidException) : SolidSignInResult

The flow could not run; exception is the same typed hierarchy the rest of the SDK throws.