bodgery / bodgery-member-api

1 stars 1 forks source link

Refactor the Auth code into Authentication Providers and Authorization Middleware #49

Closed kevinastone closed 4 years ago

kevinastone commented 4 years ago

Split the auth code into providers that resolve the User based on the given credentials (bearer token, sessions and test user workaround) and separately, perform authorization checks on designated routes or nested routes (user required).