com.microsoft.aad.msal4j.TenantProfile Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of msal4j Show documentation
Show all versions of msal4j Show documentation
Microsoft Authentication Library for Java gives you the ability to obtain tokens from Azure AD v2 (work and school
accounts, MSA) and Azure AD B2C, gaining access to Microsoft Cloud API and any other API secured by Microsoft
identities
// Generated by delombok at Fri Jul 26 21:46:44 UTC 2024
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.microsoft.aad.msal4j;
import java.util.Map;
/**
* Representation of a single tenant profile
*/
class TenantProfile implements ITenantProfile {
Map idTokenClaims;
String environment;
public Map getClaims() {
return idTokenClaims;
}
@java.lang.SuppressWarnings("all")
public Map idTokenClaims() {
return this.idTokenClaims;
}
@java.lang.SuppressWarnings("all")
public String environment() {
return this.environment;
}
@java.lang.SuppressWarnings("all")
public TenantProfile idTokenClaims(final Map idTokenClaims) {
this.idTokenClaims = idTokenClaims;
return this;
}
@java.lang.SuppressWarnings("all")
public TenantProfile environment(final String environment) {
this.environment = environment;
return this;
}
@java.lang.SuppressWarnings("all")
public TenantProfile(final Map idTokenClaims, final String environment) {
this.idTokenClaims = idTokenClaims;
this.environment = environment;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy