Record Class AuthWebDetails
java.lang.Object
java.lang.Record
pro.gravit.launcher.core.api.method.details.AuthWebDetails
- All Implemented Interfaces:
AuthMethodDetails
public record AuthWebDetails(String url, String redirectUrl, boolean externalBrowserSupport)
extends Record
implements AuthMethodDetails
-
Constructor Summary
ConstructorsConstructorDescriptionAuthWebDetails(String url, String redirectUrl, boolean externalBrowserSupport) Creates an instance of aAuthWebDetailsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.booleanReturns the value of theexternalBrowserSupportrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theredirectUrlrecord component.final StringtoString()Returns a string representation of this record class.url()Returns the value of theurlrecord component.
-
Constructor Details
-
AuthWebDetails
Creates an instance of aAuthWebDetailsrecord class.- Parameters:
url- the value for theurlrecord componentredirectUrl- the value for theredirectUrlrecord componentexternalBrowserSupport- the value for theexternalBrowserSupportrecord component
-
-
Method Details
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
url
Returns the value of theurlrecord component.- Returns:
- the value of the
urlrecord component
-
redirectUrl
Returns the value of theredirectUrlrecord component.- Returns:
- the value of the
redirectUrlrecord component
-
externalBrowserSupport
public boolean externalBrowserSupport()Returns the value of theexternalBrowserSupportrecord component.- Returns:
- the value of the
externalBrowserSupportrecord component
-