toggle menu
OpenSRP
androidJvm
switch theme
search in API
engine
/
org.smartregister.fhircore.engine.data.remote.model.response
/
OAuthResponse
OAuth
Response
data
class
OAuthResponse
(
var
accessToken
:
String
?
=
null
,
var
tokenType
:
String
?
=
null
,
var
refreshToken
:
String
?
=
null
,
var
refreshExpiresIn
:
Int
?
=
null
,
var
expiresIn
:
Int
?
=
null
,
var
scope
:
String
?
=
null
)
Members
Constructors
OAuth
Response
Link copied to clipboard
constructor
(
accessToken
:
String
?
=
null
,
tokenType
:
String
?
=
null
,
refreshToken
:
String
?
=
null
,
refreshExpiresIn
:
Int
?
=
null
,
expiresIn
:
Int
?
=
null
,
scope
:
String
?
=
null
)
Properties
access
Token
Link copied to clipboard
@
SerializedName
(
value
=
"access_token"
)
var
accessToken
:
String
?
expires
In
Link copied to clipboard
@
SerializedName
(
value
=
"expires_in"
)
var
expiresIn
:
Int
?
refresh
Expires
In
Link copied to clipboard
@
SerializedName
(
value
=
"refresh_expires_in"
)
var
refreshExpiresIn
:
Int
?
refresh
Token
Link copied to clipboard
@
SerializedName
(
value
=
"refresh_token"
)
var
refreshToken
:
String
?
scope
Link copied to clipboard
@
SerializedName
(
value
=
"scope"
)
var
scope
:
String
?
token
Type
Link copied to clipboard
@
SerializedName
(
value
=
"token_type"
)
var
tokenType
:
String
?