Class OAuthKeyUtil

java.lang.Object
com.skava.auth.util.OAuthKeyUtil

public final class OAuthKeyUtil extends Object
Author:
Infosys Equinox
  • Method Details

    • getPrivateKey

      public static Key getPrivateKey(String clientSecret)
      Thie method will return the key object of the encoded secret key string.
      Parameters:
      clientSecret - a String object.
      Returns:
      a Key object.
    • generateClientSecret

      public static void generateClientSecret(OAuthClient oAuthClient)
      generateClientSecret - This function is used to generate the client secret for new client application. If client already has a secret it will replace the secret key with new secret key.
      Parameters:
      oAuthClient - a OAuthClient object.