All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.memority.toolkit.inwebo.api.TrustedDevice Maven / Gradle / Ivy

/*
 * Copyright (c) 2016-2023 Memority. All Rights Reserved.
 *
 * This file is part of Memority Toolkit API , a Memority project.
 *
 * This file is released under the Memority Public Artifacts End-User License Agreement,
 * see 
 * Unauthorized copying of this file, via any medium is strictly prohibited.
 */
package com.memority.toolkit.inwebo.api;

import lombok.Data;

import java.time.Instant;

/**
 * A trusted device enrolled for an InWebo user.
 * A trusted device can be used by an InWebo user to perform a multi factor authentication
 * once it has been enrolled.
 */
@Data
public class TrustedDevice {
    private Long id;
    private String name;
    private String alias;
    private DeviceStatus status;
    private Instant created;
    private Instant lastUsed;
    private DeviceType type;

    public TrustedDevice() {}

    public TrustedDevice(long id, DeviceType type, String name, String alias, DeviceStatus status, Instant created, Instant lastUsed) {
        this.id = id;
        this.type = type;
        this.name = name;
        this.alias = alias;
        this.status = status;
        this.created = created;
        this.lastUsed = lastUsed;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy