OAuth 2.0 Resource Server(jwt()) - JwtDecoder 세부 흐름

JwtDecoder

  • JwtDecdoer는 문자열로 된 JWT(JSON Web Token)를 컴팩트 클레임 표현 방식에서 Jwt 인스턴스로 디코딩 하는 역할을 한다.

img_4.png
  • JwtDecoder는 JWT가 아닌 JSON 웹 서명(JWS) 구조로 생성된 경우 JWS 서명에 대한 검증의 책임이 있다.

img_5.png
  • JwtDecoder의 기본 구현체로 NimbusJwtDecoder가 있다.


NimbusJwtDecoder

img_6.png

검증 세부 흐름

img_7.png

이전 ↩️ - OAuth 2.0 Resource Server(jwt()) - JWT API

메인 ⏫

다음 ↪️ - OAuth 2.0 Resource Server(jwt()) - JwtDecoder 생성 방법

Last updated