How to create a WebAPI authenticated by JWT?

Опубликовано: 19 Декабрь 2017
на канале: Denis Voituron
52,983
399

JSON Web Token (JWT) is an open standard (RFC 7519) to exchange information securely via a signed token. For example, a server could issue a token with the claim "user identified as an administrator" and provide it to the client. The client could then check the token to prove that the user is logged in as an administrator.

Personally, it is a solution that I find elegant because
Simple to set up: a few configuration lines and the use of the [Authorize] attribute,
Easily manage my own security rules when checking the username and password,
Very easy to test in client applications: just add an HTTP header "Authorization: Bearer[Token]".

More details: https://dvoituron.com/2017/12/19/how-...


Смотрите видео How to create a WebAPI authenticated by JWT? онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Denis Voituron 19 Декабрь 2017, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 52,983 раз и оно понравилось 399 людям.