OneIdAuth constructor

OneIdAuth(
  1. OneIdAuthConfig config, {
  2. OneIdTokenStorage? tokenStorage,
  3. OneIdApiClient? apiClient,
  4. OneIdAuthHostApi? hostApi,
})

Implementation

OneIdAuth(
  this.config, {
  OneIdTokenStorage? tokenStorage,
  OneIdApiClient? apiClient,
  OneIdAuthHostApi? hostApi,
})  : _storage = tokenStorage ?? SecureOneIdTokenStorage(),
      _hostApi = hostApi ?? OneIdAuthHostApi(),
      _apiClient = apiClient ?? OneIdApiClient(hostApi: hostApi);