java.lang.Object
org.eco.mubisoft.good_and_cheap.application.security.TokenChecker

public class TokenChecker
extends java.lang.Object
  • Field Summary

    Fields
    Modifier and Type Field Description
    private com.auth0.jwt.algorithms.Algorithm algorithm  
    private com.auth0.jwt.JWTVerifier verifier  
  • Constructor Summary

    Constructors
    Constructor Description
    TokenChecker()  
  • Method Summary

    Modifier and Type Method Description
    org.springframework.security.authentication.UsernamePasswordAuthenticationToken getUserPasswordToken​(java.lang.String authToken)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • algorithm

      private com.auth0.jwt.algorithms.Algorithm algorithm
    • verifier

      private com.auth0.jwt.JWTVerifier verifier
  • Constructor Details

    • TokenChecker

      public TokenChecker()
  • Method Details

    • getUserPasswordToken

      public org.springframework.security.authentication.UsernamePasswordAuthenticationToken getUserPasswordToken​(java.lang.String authToken) throws java.lang.Exception
      Throws:
      java.lang.Exception