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