OAuth2Handler

interface OAuth2Handler

Functions

Link copied to clipboard
abstract fun blockingBuildEnrollmentUrl(serverUrl: String): String
Link copied to clipboard
abstract fun blockingHandleEnrollmentResponse(serverUrl: String, iat: String)
Link copied to clipboard
abstract fun blockingHandleLogInResponse(serverUrl: String, authorizationCode: String): User
Link copied to clipboard
abstract fun blockingLogIn(config: OAuth2Config): String
Link copied to clipboard
abstract fun blockingLogOut()
Link copied to clipboard
abstract fun getClientId(): String?
Link copied to clipboard
abstract fun isDeviceRegistered(): Boolean
Link copied to clipboard
abstract fun isLoggedIn(): Boolean
Link copied to clipboard
abstract fun logOutObservable(): Observable<Unit>
Link copied to clipboard
abstract fun resetRegistration()