public class DefaultStateGenerator extends java.lang.Object implements StringKeyGenerator
OAuth2Parameter.STATE
parameter
used in the Authorization Request and correlated in the Authorization Response (or Error Response).
NOTE: The value of the state parameter is an opaque String
used by the client to prevent cross-site request forgery, as described in
Section 10.12 of the specification.
Constructor and Description |
---|
DefaultStateGenerator() |
DefaultStateGenerator(int byteLength) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
generateKey() |
public DefaultStateGenerator()
public DefaultStateGenerator(int byteLength)
public java.lang.String generateKey()
generateKey
in interface StringKeyGenerator