All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ksoot.common.spring.boot.config.security.JwtStringDecoder Maven / Gradle / Ivy

The newest version!
package com.ksoot.common.spring.boot.config.security;

import org.springframework.security.oauth2.jwt.Jwt;
import org.springframework.security.oauth2.jwt.JwtDecoder;
import org.springframework.security.oauth2.jwt.JwtException;

public class JwtStringDecoder implements JwtDecoder {

  @Override
  public Jwt decode(final String token) throws JwtException {
    return JwtUtils.decodeToken(token);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy