(name: string)
| 130 | } |
| 131 | |
| 132 | function resolvedProviderForReturn(name: string): 'local' | 'clerk' | 'custom' { |
| 133 | if (name === 'clerk') { |
| 134 | return 'clerk'; |
| 135 | } |
| 136 | if (name === 'local') { |
| 137 | return 'local'; |
| 138 | } |
| 139 | return 'custom'; |
| 140 | } |
| 141 | |
| 142 | /** |
| 143 | * Migration utility to help transition from manual token management to provider-based auth |
no outgoing calls
no test coverage detected