ITenantProfile Interface

Implements

java.io.Serializable

public interface ITenantProfile
extends java.io.Serializable

Interface representing a single tenant profile. ITenantProfiles are made available through the getTenantProfiles() method of an Account

Method Summary

Modifier and Type Method and Description
abstract java.lang.String environment()

Gets the environment where this tenant is hosted.

abstract java.util.Map<java.lang.String,?> getClaims()

A map of claims taken from an ID token.

Method Details

environment

public abstract String environment()

Gets the environment where this tenant is hosted.

The environment value typically represents the hostname of the authentication service, such as "login.microsoftonline.com" for the public cloud or other domain names for sovereign clouds.

Returns:

The environment for this tenant profile

getClaims

public abstract Map<String,?> getClaims()

A map of claims taken from an ID token. Keys and values will follow the structure of a JSON Web Token

Returns:

Map claims in id token

Applies to