Record Class SdkConfiguration
java.lang.Object
java.lang.Record
io.getlime.security.powerauth.lib.cmd.util.config.SdkConfiguration
public record SdkConfiguration(String appKeyBase64, String appSecretBase64, String masterPublicKeyBase64)
extends Record
Parameters for configuring PowerAuth Mobile SDK.
- Author:
- Roman Strobl, roman.strobl@wultra.com
-
Constructor Summary
ConstructorsConstructorDescriptionSdkConfiguration(String appKeyBase64, String appSecretBase64, String masterPublicKeyBase64) Creates an instance of aSdkConfigurationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theappKeyBase64record component.Returns the value of theappSecretBase64record component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of themasterPublicKeyBase64record component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SdkConfiguration
Creates an instance of aSdkConfigurationrecord class.- Parameters:
appKeyBase64- the value for theappKeyBase64record componentappSecretBase64- the value for theappSecretBase64record componentmasterPublicKeyBase64- the value for themasterPublicKeyBase64record 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. All components in this record class are compared withObjects::equals(Object,Object). -
appKeyBase64
Returns the value of theappKeyBase64record component.- Returns:
- the value of the
appKeyBase64record component
-
appSecretBase64
Returns the value of theappSecretBase64record component.- Returns:
- the value of the
appSecretBase64record component
-
masterPublicKeyBase64
Returns the value of themasterPublicKeyBase64record component.- Returns:
- the value of the
masterPublicKeyBase64record component
-