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

com.memority.citadel.shared.api.im.MyMFAAttributeId Maven / Gradle / Ivy

Go to download

This artifact provides the API classes that are necessary to implement general configuration Rules on the Memority IM platform.

There is a newer version: 3.43.1
Show newest version
/*
 * Copyright (c) 2016-2023 Memority. All Rights Reserved.
 *
 * This file is part of Memority Citadel 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.citadel.shared.api.im;

import java.util.List;
import java.util.stream.Collectors;
import java.util.stream.Stream;

/**
 * InWebo related attributes ids should be referenced using this enum.
 */
public enum MyMFAAttributeId {

    // TODO CTD-9249 remove
    INWEBO_LOGIN(Values.INWEBO_LOGIN, String.class),
    INWEBO_ID(Values.INWEBO_ID, String.class),

    MYMFA_LOGIN(Values.MYMFA_LOGIN, String.class),
    MYMFA_ID(Values.MYMFA_ID, String.class),

    ;

    public final static class Values {
        // TODO CTD-9249 remove
        public final static String INWEBO_LOGIN = "inweboLogin";
        public final static String INWEBO_ID = "inweboId";

        public final static String MYMFA_LOGIN = "myMfaLogin";
        public final static String MYMFA_ID = "myMfaId";
    }

    private final String idValue;

    private final Class valueType;

    MyMFAAttributeId(String idValue, Class valueType) {
        this.idValue = idValue;
        this.valueType = valueType;
    }

    public String toId() {
        return idValue;
    }

    public Class getValueType() {
        return valueType;
    }

    public static List attributes() {
        return Stream.of(MyMFAAttributeId.values()).collect(Collectors.toList());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy