JwtAuthenticationBloc constructor

JwtAuthenticationBloc({
  1. required JwtAuthenticationRepository authenticationRepository,
})

Implementation

JwtAuthenticationBloc({
  required JwtAuthenticationRepository authenticationRepository,
})  : _authenticationRepository = authenticationRepository,
      super(const JwtAuthenticationState.unknown()) {
  on<JwtAuthenticationInitializationRequested>(_onInitializationRequested);
  // on<JwtAuthenticationSubscriptionRequested>(_onSubscriptionRequested);
  on<JwtAuthenticationLoginRequested>(_onLoginRequested);
  // on<JwtAuthenticationRefreshTokenRequested>(_onRefreshTokenRequested);
  on<JwtAuthenticationLogoutPressed>(_onLogoutPressed);
}