You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Move allowedDomains to construction time for consistency
Previously allowedDomains was passed at call time to UserInfo(), while
allowedOrgs was configured at construction. This inconsistency made the
interface harder to understand and didn't follow the principle that
access control should be configured when the provider is created.
Changes:
- Provider.UserInfo() now takes only context and token
- All providers store allowedDomains internally
- Factory accepts allowedDomains parameter
- All tests updated to reflect new interface
0 commit comments