View on GitHub

optical_graph_recognition_mobApp

Mobile application for optical graph recognition

app / com.pzpg.ogr.api / TokenManager

TokenManager

class TokenManager

Class for managing the extraction of tokens from shared preferences.

Constructors

Name Summary
<init> Class for managing the extraction of tokens from shared preferences.TokenManager(context: Context)

Functions

Name Summary
clear Clean our shared preferencesfun clear(): Unit
getJwtToken Get Jwt token from shared preferences.fun getJwtToken(): String?
getRefreshToken Get Refresh token from shared preferences.fun getRefreshToken(): String?
setJwtToken Set Jwt token in shared preferences.fun setJwtToken(jwtToken: String): Unit
setRefreshToken Set Refresh token in shared preferences.fun setRefreshToken(refreshToken: String): Unit