class SessionService : BaseNetworkService
SessionService(environment: String, okHttpClient: OkHttpClient) |
fun oneTimeCode(clientId: String, accessToken: TokenResponse): Call<TokenExchangeResponse>
Requests a one-time code with 30 seconds validity. |
|
fun oneTimeSessionCode(clientId: String, accessToken: TokenResponse, redirectUri: String): Call<TokenExchangeResponse>
Requests a one-time session code with 60 seconds validity. |
open fun <T : Any!> createService(service: Class<T>): T
Creates a service to perform network interactions against. |