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

org.openstack4j.model.identity.v3.Token Maven / Gradle / Ivy

package org.openstack4j.model.identity.v3;

import java.util.Date;
import java.util.List;

import org.openstack4j.model.ModelEntity;
import org.openstack4j.model.identity.AuthStore;
import org.openstack4j.model.identity.AuthVersion;

/**
 * V3 token model
 *
 * @see API reference
 */
public interface Token extends ModelEntity {

    /**
     * @return the catalog of the token
     */
    List getCatalog();

    /**
     * @return the timestamp when the token expires
     */
    Date getExpires();

    /**
     * @return the timestamp when the token was issued
     */
    Date getIssuedAt();

    /**
     * @return the project of the token
     */
    Project getProject();

    /**
     * @return the domain of the token
     */
    Domain getDomain();

    /**
     * @return the User of the token
     */
    User getUser();

    /**
     * @return the authentication store
     */
    AuthStore getCredentials();

    /**
     * @return the endpoint
     */
    String getEndpoint();

    /**
     * @return the list of roles
     */
    List getRoles();

    /**
     * @return the list of audit identifiers
     */
    List getAuditIds();

    /**
     * @return the methods of the token
     */
    List getMethods();

    /**
     * @return the authentication version
     */
    AuthVersion getVersion();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy