OAuthModule constructor

OAuthModule(
  1. Dio _dio,
  2. StorageInterface _storage
)

Creates a new OAuthModule instance.

Typically, you won't create this directly. Use BetterAuthClient.oauth instead.

Implementation

OAuthModule(this._dio, this._storage) : _tokenManager = TokenManager(_storage);