toggle menu
Cloudstream
cloudstream
switch theme
search in API
Cloudstream
/
com.lagradost.cloudstream3.syncproviders
/
OAuth2API
OAuth2API
interface
OAuth2API
:
AuthAPI
(
source
)
Inheritors
SyncAPI
Dropbox
Members
Types
Pin
Auth
Data
Link copied to clipboard
data
class
PinAuthData
(
val
deviceCode
:
String
,
val
userCode
:
String
,
val
verificationUrl
:
String
,
val
expiresIn
:
Int
,
val
interval
:
Int
)
Properties
create
Account
Url
Link copied to clipboard
abstract
val
createAccountUrl
:
String
?
icon
Link copied to clipboard
abstract
val
icon
:
Int
?
id
Prefix
Link copied to clipboard
abstract
val
idPrefix
:
String
key
Link copied to clipboard
abstract
val
key
:
String
name
Link copied to clipboard
abstract
val
name
:
String
redirect
Url
Link copied to clipboard
abstract
val
redirectUrl
:
String
requires
Login
Link copied to clipboard
abstract
val
requiresLogin
:
Boolean
support
Device
Auth
Link copied to clipboard
abstract
val
supportDeviceAuth
:
Boolean
Functions
authenticate
Link copied to clipboard
abstract
fun
authenticate
(
activity
:
<Error class: unknown class>
?
)
get
Device
Pin
Link copied to clipboard
open
suspend
fun
getDevicePin
(
)
:
OAuth2API.PinAuthData
?
handle
Device
Auth
Link copied to clipboard
open
suspend
fun
handleDeviceAuth
(
pinAuthData
:
OAuth2API.PinAuthData
)
:
Boolean
handle
Redirect
Link copied to clipboard
abstract
suspend
fun
handleRedirect
(
url
:
String
)
:
Boolean
login
Info
Link copied to clipboard
abstract
fun
loginInfo
(
)
:
AuthAPI.LoginInfo
?
log
Out
Link copied to clipboard
abstract
fun
logOut
(
)