keycloak_wrapper library

The primary library of this package containing all the authentication methods.

Classes

KeycloakConfig
Contains all the configurations required for the authentication requests.
KeycloakWrapper
Manages user authentication and token exchange using Keycloak.

Extensions

TokenResponseHelper on TokenResponse?
Extension of the TokenResponse class from flutter_appauth package.

Functions

hasNetwork() Future<bool>
Whether there is network connectivity.
jwtDecode(String? source) Map<String, dynamic>?
Parses the JSON Web Token and returns its payload.