-
Notifications
You must be signed in to change notification settings - Fork 0
Session
Session keeps track of all the session data created by AppAuthHelper.
It is not recommended to manually edit this data yourself. Instead, keep to the methods within AppAuthHelper.
The TokenResponse Object last received from a login or refresh token call.
The main token in string form.
The refresh token of the current token.
Stores the fields within the token, decoded using Jaguar JWT
The DateTime that the current token expires at and will need to be refreshed before
The Duration before the token expires at that it will attempt to refresh. Defaults to Duration(seconds: 10)
Disables the colors for the static Session Log object.
Called when AppAuthHelper receives a token. Returns true if the token was not null
Starts the refresh token loop
Stops the Alarm that runs the refresh token loop
Clears session data
Returns true if the refresh token loop is running
Models - Currently Empty