com.microsoft.aad.msal4j.WSTrustVersion 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 16 13:56:07 UTC 2021
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.microsoft.aad.msal4j;
enum WSTrustVersion {
WSTRUST13("//s:Envelope/s:Body/wst:RequestSecurityTokenResponseCollection/wst:RequestSecurityTokenResponse/wst:TokenType", "wst:RequestedSecurityToken"), WSTRUST2005("//s:Envelope/s:Body/t:RequestSecurityTokenResponse/t:TokenType", "t:RequestedSecurityToken"), UNDEFINED("", "");
private String responseTokenTypePath = "";
private String responseSecurityTokenPath = "";
WSTrustVersion(String tokenType, String responseSecurityToken) {
this.responseTokenTypePath = tokenType;
this.responseSecurityTokenPath = responseSecurityToken;
}
@java.lang.SuppressWarnings("all")
String responseTokenTypePath() {
return this.responseTokenTypePath;
}
@java.lang.SuppressWarnings("all")
String responseSecurityTokenPath() {
return this.responseSecurityTokenPath;
}
}