Skip to content

posts/delegating-handler #2

Closed
Closed

Description

@TechWatching

Written on 28/10/2019 14:02:44

URL: https://techwatching.dev/posts/delegating-handler

Activity

  1. TechWatching commented on Oct 19, 2021

    @TechWatching
    OwnerAuthor

    Comment written by Gerald Maale on 29/05/2021 10:37:48

    Hi,
    Don't you think using IMemoryCache stores the token in the entire server where notwithstanding who logs in, the token is not actually representing the new user logging in. You consider revising this.

  2. TechWatching commented on Oct 19, 2021

    @TechWatching
    OwnerAuthor

    Comment written by Alex Pavlenko on 07/07/2021 02:46:29

    If this is the inner service that should be used for entire application, why not?

  3. TechWatching commented on Oct 19, 2021

    @TechWatching
    OwnerAuthor

    Comment written by Alexandre on 22/08/2021 22:53:54

    Good remark but in my sample the call to the API is made as a Service, not as a User: in that case caching the token for the whole server is what I want. But I agree with you,in other cases involving multiple users the implementation should be modified a bit.

  4. changed the title [-]Handle token retrieval while querying an API[/-] [+]posts/delegating-handler[/+] on Oct 20, 2021
  5. Repository owner locked and limited conversation to collaborators on Oct 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions