N8
N8
Explore posts from servers
CC#
Created by N8 on 4/19/2023 in #help
❔ ASP.NET Core - How to handle external authentication access tokens?
No worries lol. Thank you both again
46 replies
CC#
Created by N8 on 4/19/2023 in #help
❔ ASP.NET Core - How to handle external authentication access tokens?
Last question: do you both have any recommendations for any good courses for ASP.NET Core? I'm a newly grad with very limited experience in Java Spring, so I can make some connections, but overall it's new to me and I'd love to take the time to learn the in's and out's of this. I'm open to Udemy course recommendations, textbook recommendations, etc
46 replies
CC#
Created by N8 on 4/19/2023 in #help
❔ ASP.NET Core - How to handle external authentication access tokens?
Okay, great. Thank you both. This is all very helpful
46 replies
CC#
Created by N8 on 4/19/2023 in #help
❔ ASP.NET Core - How to handle external authentication access tokens?
Thank you, this is very useful
46 replies
CC#
Created by N8 on 4/19/2023 in #help
❔ ASP.NET Core - How to handle external authentication access tokens?
Is that somewhat correct?
46 replies
CC#
Created by N8 on 4/19/2023 in #help
❔ ASP.NET Core - How to handle external authentication access tokens?
From what I understand: 1. I need to create a Token Factory to handle specific functionalities like retrieving new tokens and returning it, or returning existing tokens that haven't expired, or renewing an existing token 2. I then make an HttpMessageHandler that injects the token factory. That HttpMessageHandler will make requests to the external API and will use methods from the token factory whenever a token is needed? 3. I use that HttpMessageHandler in my Controller whenever I need to make calls to the external API?
46 replies
CC#
Created by N8 on 4/19/2023 in #help
❔ ASP.NET Core - How to handle external authentication access tokens?
Is it OK if I ask a few follow-up questions to confirm my understanding of your explanation? (I'm still very new to ASP.NET Core and Dependency Injection in general, so I may ask some silly questions)
46 replies
CC#
Created by N8 on 4/19/2023 in #help
❔ ASP.NET Core - How to handle external authentication access tokens?
Yeah, that would make sense
46 replies
CC#
Created by N8 on 4/19/2023 in #help
❔ ASP.NET Core - How to handle external authentication access tokens?
Yeah, it does support renewal tokens... :/
46 replies
CC#
Created by N8 on 4/19/2023 in #help
❔ ASP.NET Core - How to handle external authentication access tokens?
Would you have any examples of a cache system design I could use for "inspiration"? Or are there any NuGet packages that handle this so I don't need to reinvent the wheel?
46 replies
CC#
Created by N8 on 4/19/2023 in #help
❔ ASP.NET Core - How to handle external authentication access tokens?
It's not related to a specific user. I'm trying to utilize the Client Credentials flow
46 replies