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

dev.soffa.foundation.context.BaseContext Maven / Gradle / Ivy

There is a newer version: 0.17.31
Show newest version
package dev.soffa.foundation.context;

import dev.soffa.foundation.model.Authentication;
import dev.soffa.foundation.model.TenantId;

import java.util.Optional;

public interface BaseContext {
    boolean isProduction();

    boolean isLiveMode();

    boolean hasAuthorization();

    String getSender();

    String getServiceName();

    TenantId getTenant();

    String getTenantId();

    boolean hasTenant();

    boolean hasApplicationId();

    boolean hasAccountId();

    boolean hasIpAddress();

    boolean isAuthenticated();

    Authentication getAuthentication();

    Optional getUsername();

    Optional getUserEmail();

    String getAccountId();

    String getAccountName();

    String getTenantName();

    String getApplicationId();

    String getIpAddress();

    String getApplicationName();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy