org.pfsw.security.oauth.pkce
Interface PKCEGenerator

All Known Implementing Classes:
AbstractPKCEGenerator, PlainPKCEGenerator, S256PKCEGenerator

public interface PKCEGenerator

A functional interface for the generation of new random proof key for code exchange according to the specification https://tools.ietf.org/html/rfc7636.


Method Summary
 ProofKeyForCodeExchange generate()
          Generates a new random ProofKeyForCodeExchange.
 

Method Detail

generate

ProofKeyForCodeExchange generate()
Generates a new random ProofKeyForCodeExchange. The mechanism how the random code verifier gets generated and the used code challenge method is up to the implementor of this method.