PocketBaseClient icon indicating copy to clipboard operation
PocketBaseClient copied to clipboard

Refactor AuthService Initialization

Open neozhu opened this issue 1 year ago • 1 comments

Description: This pull request refactors the AuthCollectionService class to improve the initialization of AuthService

Changes: AuthService Initialization: The AuthService initialization has been updated to use CollectionAuthService<RecordAuthModel<T>, T> instead of CollectionAuthService<T>. add methods:

  • RefreshAsync()
  • Refresh()
  • AuthenticateWithPasswordAsync(string username, string password)
  • AuthenticateWithPassword(string username, string password)

neozhu avatar May 18 '24 13:05 neozhu

@iluvadev Please take a look at it.

neozhu avatar May 18 '24 13:05 neozhu