Repository navigation
fix: Rename & adapt to CSS - #447
jaxoncreed merged 1 commit into
Conversation
| "EmailPasswordIdentityProviderHandler:_args_oidcProviderFactory": { | ||
| "@id": "urn:solid-server:default:OidcProviderFactory" | ||
| "EmailPasswordIdentityProviderHandler:_args_solidIdentityProviderFactory": { | ||
| "@id": "urn:solid-server:default:SolidIdentityProviderFactory" |
There was a problem hiding this comment.
Why did you change this parameter name to "SolidIdenityProviderFactory." It doesn't necessarily need to be a SolidIdentityProvider, it could be an IdentityProvider
|
|
||
| interface EmailPasswordIdentityProviderHandlerArgs { | ||
| oidcProviderFactory: OidcProviderFactory; | ||
| solidIdentityProviderFactory: SolidIdentityProviderFactory; |
There was a problem hiding this comment.
I'm not sure that I understand the reasoning behind the name changes. A generic OIDCProviderFactory should be what is passed in. Not specifically a SolidIdentityProvider factory.
|
|
||
| export class SolidOidcProvider extends OidcProvider { |
There was a problem hiding this comment.
By eleminating "OidcProvider" there is now not a generic term to describe a "Provider" that has a "handle" function. Though I do like the idea of using Provider implements AsyncHander<HttpHandlerInput> instead of what I did.
There was a problem hiding this comment.
When and if we need to create alternative Identity providers, they can easily implement AsyncHandler and if other identity providers were to be implemented, I'm not too sure why they should be extending Panva's Provider.
|
I'll answer all comments at once since they revolve around the same issue of a generic In the context of the CSS, the reason to pass in something that would not be a SolidIdentityProvider would be when adopting the broker pattern. The broker pattern is out of scope for now. In any case if we had a more generic |
|
Okay seems fine |
No description provided.