Function useRedisAuthState

  • Parameters

    • redis: RedisClientType<{} & RedisModules, RedisFunctions, RedisScripts>
    • authKey: string = 'auth'
    • Optional logger: Logger

    Returns Promise<{
        removeCreds: (() => Promise<void>);
        saveCreds: (() => Promise<void>);
        state: AuthenticationState;
    }>

Generated using TypeDoc