Class JWTAuthenticationProvider

java.lang.Object
com.erudika.para.server.security.JWTAuthenticationProvider

public class JWTAuthenticationProvider extends Object
An authentication provider that verifies JSON web tokens. It uses the Nimbus JOSE + JWT library to validate tokens.
Author:
Alex Bogdanovski [[email protected]]
  • Constructor Details

    • JWTAuthenticationProvider

      public JWTAuthenticationProvider()
      Default constructor.
  • Method Details

    • authenticate

      public org.springframework.security.core.Authentication authenticate(org.springframework.security.core.Authentication authentication)
    • supports

      public boolean supports(Class<?> authentication)