OldGDriveAuth

open class OldGDriveAuth(val config: GDriveConfiguration) : GDriveAuth

Handles authentication and permission management for Google Drive using the legacy sign-in flow.

Parameters

config

The GDriveConfiguration specifying authentication and storage settings.

Constructors

Link copied to clipboard
constructor(config: GDriveConfiguration)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val config: GDriveConfiguration

Functions

Link copied to clipboard
open suspend override fun getAccessToken(): String

Retrieves the Google Drive access token for the signed-in user.

Link copied to clipboard
suspend fun getCurrentUser(): GoogleSignInAccount?

Retrieves the currently signed-in Google user.

Link copied to clipboard
open suspend override fun isSignedIn(): Boolean
Link copied to clipboard
open suspend override fun signIn(): Boolean
Link copied to clipboard
open suspend override fun signOut()
Link copied to clipboard
open suspend override fun validateGDrivePermissions(): Boolean

Validates whether the required Google Drive permissions are granted.