Package com.skava.auth.util
Class OAuthKeyUtil
java.lang.Object
com.skava.auth.util.OAuthKeyUtil
- Author:
- Infosys Equinox
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
generateClientSecret
(OAuthClient oAuthClient) generateClientSecret - This function is used to generate the client secret for new client application.static Key
getPrivateKey
(String clientSecret) Thie method will return the key object of the encoded secret key string.
-
Method Details
-
getPrivateKey
Thie method will return the key object of the encoded secret key string. -
generateClientSecret
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
- aOAuthClient
object.
-