cidaas_flutter_sdk library
Provides the necessary logic to authenticate users with cidaas, using the oAuth2 Authorization code flow
Classes
- AuthenticationBloc
- The authentication Bloc used to determine which screen should get displayed
- AuthenticationEvent
- The AuthenticationEvent
- AuthenticationFailureState
- States that the authentication was not successful
- AuthenticationHasLoggedOutState
- States that the user has logged out
- AuthenticationInProgressState
- States that the authentication is in progress and some asynchronous operations are ongoing
- AuthenticationLoggedInEvent
- Describes that the Authentication was successful
- AuthenticationLoggedOutEvent
- Describes that the logout has started
- AuthenticationShowLoginWithBrowserState
- States that the authentication is ongoing & currently the loginBrowser should be dispalyed
- AuthenticationStartedEvent
- Describes that the Authentication has started
- AuthenticationState
- The AuthenticationState
- AuthenticationSuccessState
- States that the authentication was successful
- Cidaas
- The Cidaas class encapsulates the Bloc logic To use it, implement getLoggedInScreen() & getLoggedOutScreen(). You can optionally override the methods getSplashScreen() & getAuthenticationFailureScreen()
- CidaasConfig
- The cidaas configuration
- CidaasLoginProvider
- Provides static methods so a user can authenticate himself
- OpenIdConfiguration
- The openId configuration
- TokenEntity
- The obtained TokenEntity after login