Module dev.eidentification.bankid
Record Class CollectRequest
java.lang.Object
java.lang.Record
dev.eidentification.bankid.client.request.CollectRequest
- Record Components:
orderRef- The orderRef from the response from authentication or sign.
- All Implemented Interfaces:
Request
Request to collect the result of a sign or auth order using orderRef as reference.
RP should keep on calling collect every two seconds if status is pending.
RP must abort if status indicates failed. The user identity is returned when complete.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.getUri()Returns the URI associated with the request.final inthashCode()Returns a hash code value for this object.orderRef()Returns the value of theorderRefrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CollectRequest
Creates aCollectRequest.- Parameters:
orderRef- The orderRef from the response from authentication or sign. Must not benull- Throws:
NullPointerException- iforderRefisnull
-
-
Method Details
-
getUri
Description copied from interface:RequestReturns the URI associated with the request. -
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
orderRef
Returns the value of theorderRefrecord component.- Returns:
- the value of the
orderRefrecord component
-