Record Class Pkce
java.lang.Object
java.lang.Record
io.fluxzero.idp.client.Pkce
- Record Components:
verifier- secret value stored by the application for one pending loginchallenge- SHA-256 based challenge sent to the authorization endpoint
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thechallengerecord component.static StringComputes the S256 code challenge for a verifier.final booleanIndicates whether some other object is "equal to" this one.static Pkcegenerate()Generates a new verifier/challenge pair for one authorization attempt.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.verifier()Returns the value of theverifierrecord component.
-
Constructor Details
-
Pkce
-
-
Method Details
-
generate
Generates a new verifier/challenge pair for one authorization attempt.- Returns:
- PKCE pair for a pending login
-
challenge
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
verifier
-
challenge
-