Implemented complete oauth2 flow with modular providers
The local oauth2 provider still needs A LOT of love. But the general oauth2 workflow works. The http api client needs an option to disable the authentication things and we need to switch to the local storage for storing access, refresh and timestamp for the client
This commit is contained in:
@@ -4,5 +4,5 @@ namespace Moonlight.ApiServer.Interfaces.OAuth2;
|
||||
|
||||
public interface IOAuth2Provider
|
||||
{
|
||||
public Task<User?> Sync(IServiceProvider provider, string accessToken, string refreshToken);
|
||||
public Task<User?> Sync(IServiceProvider provider, string accessToken);
|
||||
}
|
||||
Reference in New Issue
Block a user