Class MultifactorAuthenticationRegisteredDevice
java.lang.Object
org.apereo.cas.authentication.device.MultifactorAuthenticationRegisteredDevice
- All Implemented Interfaces:
Serializable
- Since:
- 6.6.0
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classMultifactorAuthenticationRegisteredDevice.MultifactorAuthenticationRegisteredDeviceBuilder<C extends MultifactorAuthenticationRegisteredDevice,B extends MultifactorAuthenticationRegisteredDevice.MultifactorAuthenticationRegisteredDeviceBuilder<C, B>> -
Constructor Summary
ConstructorsConstructorDescriptionMultifactorAuthenticationRegisteredDevice(String name, String type, String id, String number, String model, String lastUsedDateTime, String expirationDateTime, String payload, String source, Map<String, Object> details) Creates a newMultifactorAuthenticationRegisteredDeviceinstance. -
Method Summary
Modifier and TypeMethodDescriptionstatic MultifactorAuthenticationRegisteredDevice.MultifactorAuthenticationRegisteredDeviceBuilder<?, ?> builder()booleangetId()Unique identifier for the device registration entry.getModel()Platform type and details.getName()The device name as chosen/managed by the mfa provider.Phone number assigned to the device, if any.The actual device record produced by the provider typically captured here as JSON.getType()Phone, tablet, etc.inthashCode()voidsetDetails(Map<String, Object> details) toString()withDetails(Map<String, Object> details) withExpirationDateTime(String expirationDateTime) Unique identifier for the device registration entry.withLastUsedDateTime(String lastUsedDateTime) Platform type and details.The device name as chosen/managed by the mfa provider.withNumber(String number) Phone number assigned to the device, if any.withPayload(String payload) The actual device record produced by the provider typically captured here as JSON.withSource(String source) Phone, tablet, etc.
-
Constructor Details
-
MultifactorAuthenticationRegisteredDevice
public MultifactorAuthenticationRegisteredDevice() -
MultifactorAuthenticationRegisteredDevice
public MultifactorAuthenticationRegisteredDevice(String name, String type, String id, String number, String model, String lastUsedDateTime, String expirationDateTime, String payload, String source, Map<String, Object> details) Creates a newMultifactorAuthenticationRegisteredDeviceinstance.- Parameters:
name- The device name as chosen/managed by the mfa provider.type- Phone, tablet, etc.id- Unique identifier for the device registration entry.number- Phone number assigned to the device, if any.model- Platform type and details. (Android, iOS, Samsung, LG, etc)lastUsedDateTime-expirationDateTime-payload- The actual device record produced by the provider typically captured here as JSON.source-details-
-
-
Method Details
-
builder
public static MultifactorAuthenticationRegisteredDevice.MultifactorAuthenticationRegisteredDeviceBuilder<?,?> builder() -
getName
The device name as chosen/managed by the mfa provider. -
getType
Phone, tablet, etc. -
getId
Unique identifier for the device registration entry. -
getNumber
Phone number assigned to the device, if any. -
getModel
Platform type and details. (Android, iOS, Samsung, LG, etc) -
getLastUsedDateTime
-
getExpirationDateTime
-
getPayload
The actual device record produced by the provider typically captured here as JSON. -
getSource
-
getDetails
-
toString
-
equals
-
hashCode
public int hashCode() -
setDetails
-
withName
The device name as chosen/managed by the mfa provider.- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withType
Phone, tablet, etc.- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withId
Unique identifier for the device registration entry.- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withNumber
Phone number assigned to the device, if any.- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withModel
Platform type and details. (Android, iOS, Samsung, LG, etc)- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withLastUsedDateTime
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withExpirationDateTime
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withPayload
The actual device record produced by the provider typically captured here as JSON.- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withSource
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withDetails
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-