utils library

Functions

addCharsUntilMultipleOfFour(String inputBase64) String
Add as much equals signs at the end of the string to have a length that is multiple of four
extractKeyFromJwtTokenPayload(String key, String token) int
Extract the key from the JTW Token Payload
getRealmURL(String realm, String authServerUrl) String
Get the Realm URL
isAccessTokenExpired() Future<bool>
Get if AT is expired
willAccessTokenExpireInLessThan(int seconds) Future<bool>
Get if AT will expire in less than specified seconds