Class TokenHandlerUtil


  • public class TokenHandlerUtil
    extends Object
    Author:
    Srinivasan
    • Method Detail

      • isValidBearerToken

        public static boolean isValidBearerToken​(String accessToken,
                                                 String issuerUrl,
                                                 String clientId)
        Validates the token offline based on the Oauth2 standards.
        Parameters:
        accessToken - - Bearer token
        issuerUrl - - issuer URL to be read from the properties,
        clientId - - client Id to be read from the properties
        Returns:
        Boolean