Commit 6291f32
committed
refactor: make isOAuthClientProvider check more explicit
Check typeof === 'function' on two required methods (tokens +
clientInformation) instead of bare 'in' operator. Slightly more
robust — verifies they're actually callable, not just properties
with those names. Same semantics, reads cleaner.1 parent 12c93c6 commit 6291f32
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
87 | 90 | | |
88 | 91 | | |
89 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
90 | 95 | | |
91 | 96 | | |
92 | 97 | | |
| |||
0 commit comments