oauth2_refresher library

Classes

ILocalRepository
Interface for local repository
TokenHandler
A singleton class for token refresh handling

Enums

OauthState
States for token refresh

Functions

isTokenExpired(String token, int duration) → bool

Exceptions / Errors

NotInitializedException
Exception for handling cases when the token is not initialized
RevokeTokenException
Exception for handling token refresh errors