toggle menu
DHIS2 Android SDK
1.14.0
androidJvm
switch theme
search in API
DHIS2 Android SDK
/
org.hisp.dhis.android.core.user.oauth2
/
OAuth2Handler
OAuth2Handler
interface
OAuth2Handler
Members
Functions
blocking
Build
Enrollment
Url
Link copied to clipboard
abstract
fun
blockingBuildEnrollmentUrl
(
serverUrl
:
String
)
:
String
blocking
Handle
Enrollment
Response
Link copied to clipboard
abstract
fun
blockingHandleEnrollmentResponse
(
serverUrl
:
String
,
iat
:
String
)
blocking
Handle
Log
In
Response
Link copied to clipboard
abstract
fun
blockingHandleLogInResponse
(
serverUrl
:
String
,
authorizationCode
:
String
)
:
User
blocking
Log
In
Link copied to clipboard
abstract
fun
blockingLogIn
(
config
:
OAuth2Config
)
:
String
blocking
Log
Out
Link copied to clipboard
abstract
fun
blockingLogOut
(
)
get
Client
Id
Link copied to clipboard
abstract
fun
getClientId
(
)
:
String
?
is
Device
Registered
Link copied to clipboard
abstract
fun
isDeviceRegistered
(
)
:
Boolean
is
Logged
In
Link copied to clipboard
abstract
fun
isLoggedIn
(
)
:
Boolean
log
Out
Observable
Link copied to clipboard
abstract
fun
logOutObservable
(
)
:
Observable
<
Unit
>
reset
Registration
Link copied to clipboard
abstract
fun
resetRegistration
(
)