DHIS2 Android SDK
Toggle table of contents
1.15.0
release
Target filter
release
Switch theme
Search in API
Skip to content
DHIS2 Android SDK
DHIS2 Android SDK
/
org.hisp.dhis.android.core.user.oauth2
/
OAuth2State
OAuth2State
@
Serializable
data
class
OAuth2State
(
val
clientId
:
String
,
val
keyId
:
String
,
val
accessToken
:
String
?
,
val
refreshToken
:
String
?
,
val
expiresAt
:
Long
,
val
scope
:
String
?
,
val
tokenEndpoint
:
String
)
Members
Constructors
OAuth2State
Link copied to clipboard
constructor
(
clientId
:
String
,
keyId
:
String
,
accessToken
:
String
?
,
refreshToken
:
String
?
,
expiresAt
:
Long
,
scope
:
String
?
,
tokenEndpoint
:
String
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
access
Token
Link copied to clipboard
@
SerialName
(
value
=
"access_token"
)
val
accessToken
:
String
?
client
Id
Link copied to clipboard
@
SerialName
(
value
=
"client_id"
)
val
clientId
:
String
expires
At
Link copied to clipboard
@
SerialName
(
value
=
"expires_at"
)
val
expiresAt
:
Long
key
Id
Link copied to clipboard
@
SerialName
(
value
=
"key_id"
)
val
keyId
:
String
refresh
Token
Link copied to clipboard
@
SerialName
(
value
=
"refresh_token"
)
val
refreshToken
:
String
?
scope
Link copied to clipboard
@
SerialName
(
value
=
"scope"
)
val
scope
:
String
?
token
Endpoint
Link copied to clipboard
@
SerialName
(
value
=
"token_endpoint"
)
val
tokenEndpoint
:
String
Functions
json
Serialize
String
Link copied to clipboard
fun
jsonSerializeString
(
)
:
String