Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor exceptions, code cleanup, and move to
delegate
auth state …
…changes (#57) * Add GoTrue specific words to dictionary * Minor cleanup. Remove unused imports. Add missing docs. Minor tweaks. * Minor cleanup. Remove unused imports. Add missing docs. Minor tweaks. * Remove unneeded declarations * Remove unused imports. * Simplify imports * Remove unused imports * Remove unused imports * Remove unused imports * Remove unused imports * Remove unused imports * Remove unused imports * Remove unused import * Remove unused import * Removed unused imports. A few of these imports can cause problems (e.g. Linq, compiler services) * Simplify imports * Simplify imports * Simplify imports * Fix doc * Simplify imports, fix doc * Simplify imports, doc fixes * Add bit more coverage for nonce tests * Import code formatting rules from existing code base * Remove debug. Fix floating point warning. * Remove debug. * Replace debug. Also ran code format on existing rules. * Simplify exceptions, persistence, state changes * Updates/fixes for persistence and notifications * Simplify exceptions * Add failure test cases. Split anon and service tests * Remove unneeded imports * Add abbreviations to spelling check * Make consistent with rest of project code style * Changed to use Options headers as sole source of truth * Create ConfigurationFailureTests.cs * Remove readonly * Remove client launch * Add bearer token failure * Comment out debug (used to match server errors) * Remove client launch * Remove unused empty default headers * Remove imports * Add load user from persistence test * simplify with static import * format * Add info on changes * Remove imports * Doc fix * Add doc * Add doc * Reformatted, added a few more words to spell checker * Add settings endpoint * Minor method changes. Added some docs. * Simplified to holder class * Added User hint to clarify user needs to fix * Minor method renames, changed magic link back to sign in * Session wrapper object * reformat * Simplified/tweaked to use persistence object * Settings object JSON wrapper * Add settings API request * Update Reason name, moved test to failure test * Changes to tests per other changes * Add settings api test case * Update README to reflect changes * Add note about settings api * Add internal to set * Cleanup methods that are essentially aliasing `Api` calls. * Add code highlights * Update gotrue-csharp.sln.DotSettings * Simplify session persistence with interface * Move setting persistence to method instead of options * Extract interface for `PersistenceListener` * Update `IGotrueClient` interface for Persistence --------- Co-authored-by: Joseph Schultz <9093699+acupofjose@users.noreply.github.com>
- Loading branch information