c# - is inaccessible due to its protection level

c# - is inaccessible due to its protection level

I can't figure this out. The problem is that the distance, club, cleanclub, hole, scores and par all say inaccessible due to protection level and I don't know why because I thought I did everything ri…


.net - How to configure MIcrosoft JWT with symmetric key?

I'm trying to configure my ASP.NET app to accept a JSON Web Token(JWT) that is signed with a symmetric key. The STS isn't capable of using certificates for this, so we're using their symmetric key su…


authentication - When is JWTSecurityTokenHandler.ValidateToken() actually valid?

I am attempting to create a token validation method that returns true if a JWT token is valid based on the signature. I don't think I really need to validate everything in the token but what actually…


Verifying JWT signed with the RS256 algorithm using public key in C#

Ok, I understand that the question I am asking may be pretty obvious, but unfortunately I lack the knowledge on this subject and this task seems to be quite tricky for me. I have an id token(JWT) ret…



AspNetCore.Authentication.JwtBearer fails with No SecurityTokenValidator available for token with.net core RC2

I'm trying to get a simple endpoint working that issues and consumes JWT tokens using AspNew.Security.OpenIdConnect.Server to issue the token and validating using Microsoft.AspNetCore.Authentication.J…


c# - Update of System.IdentityModel.Tokens.Jwt causing breaking change in IdentityServer3 Client

Hopefully an easy one to resolve. Microsoft's System.IdentityModels.Tokens.Jwt package was updated yesterday on NuGet from 4.0.2.206211351 to v5.0. This is unfortunately causing a breaking change with…


c# - How to implement JWT Refresh Tokens in asp.net core web api(no 3rd party)?

I'm in the process of implementing a web api using asp.net core that is using JWT. I am not using a third party solution such as IdentityServer4 as I am trying to learn. I've gotten the JWT configurat…


c# - .NET Web API: Set a different Refresh Token Expiration time for different users

I'm using Identity Server 3 to authenticate and generate Access/Refresh tokens for my angular Client. I'm currently setting the Refresh Token to expire in 48 hours for my Angular Client. Some users wh…




token net jwt example core tokens system identitymodel asp validatetoken