DriveToken

sealed interface DriveToken(source)

A short-lived OAuth access token for the drive.appdata scope.

Inheritors

Types

Link copied to clipboard
data class Failed(val cause: Throwable) : DriveToken
Link copied to clipboard
data object NeedsConsent : DriveToken

The user has not accepted Google's one-time permission dialog yet. Run DriveConsent.

Link copied to clipboard
data class Value(val accessToken: String) : DriveToken