This pull request includes a series of refactorings and updates to enhance the OAuth implementation. The changes made in this pull request are as follows:
Refactor scope validation in token handlers and client validator (#11)
Refactor OAuth models to use structs instead of classes
Refactor OAuthResourceServer struct
Update DiscoveryDocument protocol to make certain properties optional
Refactor OAuthUser struct and add Address struct (#14)
Add environment parameter to UserInfoHandler constructor (#14)
Add key rotation and deletion methods to KeyManagementService (#14)
Add keyType parameter to storeKey method
Refactor KeyManagementService protocol to support storing different types of keys
Refactor KeyManagementService protocol to store RSA key as a string
Refactor key management service and JWT signer service
Refactor DiscoveryDocument and OAuthDiscoveryDocument structs (#14)
Update KeyManagementService protocol to support async/await (#7)
Refactor JwksHandler to use async/await (#7)
Update makeJWTSigner function to support async (#7)
Refactor token generation to use async/await
Refactor token handlers to use async/await
Update scopes property from [String]? to String? in AccessToken and R...
These changes aim to improve the overall codebase and maintainability of the OAuth implementation.
This pull request includes a series of refactorings and updates to enhance the OAuth implementation. The changes made in this pull request are as follows:
These changes aim to improve the overall codebase and maintainability of the OAuth implementation.