Record Class TenantRegistry.AuthProviderDefinition
java.lang.Object
java.lang.Record
org.chenile.security.auth.framework.contract.TenantRegistry.AuthProviderDefinition
- Enclosing interface:
TenantRegistry
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final StringThe field for theemailrecord component.private final StringThe field for theidrecord component.private final StringThe field for theproviderKeyrecord component.private final StringThe field for theproviderLabelrecord component.private final intThe field for theproviderOrderrecord component.private final AuthProviderTypeThe field for theproviderTyperecord component.private final StringThe field for therealmrecord component.private final StringThe field for therealmDisplayNamerecord component.private final StringThe field for theusernamerecord component. -
Constructor Summary
ConstructorsConstructorDescriptionAuthProviderDefinition(String id, String realm, String realmDisplayName, String username, String email, String providerKey, String providerLabel, AuthProviderType providerType, int providerOrder) Creates an instance of aAuthProviderDefinitionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionemail()Returns the value of theemailrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.Returns the value of theproviderKeyrecord component.Returns the value of theproviderLabelrecord component.intReturns the value of theproviderOrderrecord component.Returns the value of theproviderTyperecord component.realm()Returns the value of therealmrecord component.Returns the value of therealmDisplayNamerecord component.final StringtoString()Returns a string representation of this record class.username()Returns the value of theusernamerecord component.
-
Field Details
-
id
The field for theidrecord component. -
realm
The field for therealmrecord component. -
realmDisplayName
The field for therealmDisplayNamerecord component. -
username
The field for theusernamerecord component. -
email
The field for theemailrecord component. -
providerKey
The field for theproviderKeyrecord component. -
providerLabel
The field for theproviderLabelrecord component. -
providerType
The field for theproviderTyperecord component. -
providerOrder
private final int providerOrderThe field for theproviderOrderrecord component.
-
-
Constructor Details
-
AuthProviderDefinition
public AuthProviderDefinition(String id, String realm, String realmDisplayName, String username, String email, String providerKey, String providerLabel, AuthProviderType providerType, int providerOrder) Creates an instance of aAuthProviderDefinitionrecord class.- Parameters:
id- the value for theidrecord componentrealm- the value for therealmrecord componentrealmDisplayName- the value for therealmDisplayNamerecord componentusername- the value for theusernamerecord componentemail- the value for theemailrecord componentproviderKey- the value for theproviderKeyrecord componentproviderLabel- the value for theproviderLabelrecord componentproviderType- the value for theproviderTyperecord componentproviderOrder- the value for theproviderOrderrecord component
-
-
Method Details
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
realm
Returns the value of therealmrecord component.- Returns:
- the value of the
realmrecord component
-
realmDisplayName
Returns the value of therealmDisplayNamerecord component.- Returns:
- the value of the
realmDisplayNamerecord component
-
username
Returns the value of theusernamerecord component.- Returns:
- the value of the
usernamerecord component
-
email
Returns the value of theemailrecord component.- Returns:
- the value of the
emailrecord component
-
providerKey
Returns the value of theproviderKeyrecord component.- Returns:
- the value of the
providerKeyrecord component
-
providerLabel
Returns the value of theproviderLabelrecord component.- Returns:
- the value of the
providerLabelrecord component
-
providerType
Returns the value of theproviderTyperecord component.- Returns:
- the value of the
providerTyperecord component
-
providerOrder
public int providerOrder()Returns the value of theproviderOrderrecord component.- Returns:
- the value of the
providerOrderrecord component
-
CHENILE