()
| 66 | |
| 67 | /** Current credential, or undefined if none has been provided yet. */ |
| 68 | export function getCredential(): string | undefined { |
| 69 | return memory; |
| 70 | } |
| 71 | |
| 72 | /** Store a credential (memory + sessionStorage) for subsequent requests. */ |
| 73 | export function setCredential(value: string): void { |
no outgoing calls
no test coverage detected