NewGDriveAuth

Handles authentication and permission management for Google Drive using the new Google Identity Services API.

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
open suspend override fun isSignedIn(): Boolean
Link copied to clipboard
open suspend override fun signIn(): Boolean

Initiates the Google sign-in process.

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.