- Updated GetUserProvider to return an error alongside the user provider for better error handling. - Modified CreateUser, CreateRole, and CreateType methods to return user and role IDs as strings instead of interfaces, enhancing type safety. - Adjusted test data setup in oauth_test.go to reflect changes in user ID handling and ensure compatibility with the updated user provider interface. - Removed unnecessary nil checks and improved assertions in tests for clarity and reliability. |
||
|---|---|---|
| .. | ||
| errors.go | ||
| interfaces.go | ||
| oidc.go | ||
| types.go | ||
| utils.go | ||