Class PkceUtil
- java.lang.Object
-
- fr.paris.lutece.plugins.oauth2.service.PkceUtil
-
public class PkceUtil extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PkceUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringgenerateCodeChallenge(java.lang.String codeVerifier)static java.lang.StringgenerateCodeVerifier()
-
-
-
Method Detail
-
generateCodeVerifier
public static java.lang.String generateCodeVerifier() throws java.io.UnsupportedEncodingException- Throws:
java.io.UnsupportedEncodingException
-
generateCodeChallenge
public static java.lang.String generateCodeChallenge(java.lang.String codeVerifier) throws java.io.UnsupportedEncodingException, java.security.NoSuchAlgorithmException- Throws:
java.io.UnsupportedEncodingExceptionjava.security.NoSuchAlgorithmException
-
-