(authMethod: AuthMethod)
| 482 | } |
| 483 | |
| 484 | export function hasAdditionalAuthMethods(authMethod: AuthMethod) { |
| 485 | return typedKeys(authMethods).some( |
| 486 | (it) => it !== authMethod && isUsingAuthentication(it), |
| 487 | ); |
| 488 | } |
| 489 | |
| 490 | export function getAuthMethodDisplay(authMethod: AuthMethod): string { |
| 491 | return authMethods[authMethod].display; |
no test coverage detected