Class FederatedIdentityCredential

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.FederatedIdentityCredential
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class FederatedIdentityCredential extends Entity implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Federated Identity Credential.
  • Field Details

    • audiences

      @SerializedName(value="audiences", alternate="Audiences") @Expose @Nullable public List<String> audiences
      The Audiences. The audience that can appear in the external token. This field is mandatory and should be set to api://AzureADTokenExchange for Microsoft Entra ID. It says what Microsoft identity platform should accept in the aud claim in the incoming token. This value represents Microsoft Entra ID in your external identity provider and has no fixed value across identity providers - you might need to create a new application registration in your identity provider to serve as the audience of this token. This field can only accept a single value and has a limit of 600 characters. Required.
    • description

      @SerializedName(value="description", alternate="Description") @Expose @Nullable public String description
      The Description. The unvalidated description of the federated identity credential, provided by the user. It has a limit of 600 characters. Optional.
    • issuer

      @SerializedName(value="issuer", alternate="Issuer") @Expose @Nullable public String issuer
      The Issuer. The URL of the external identity provider, which must match the issuer claim of the external token being exchanged. The combination of the values of issuer and subject must be unique within the app. It has a limit of 600 characters. Required.
    • name

      @SerializedName(value="name", alternate="Name") @Expose @Nullable public String name
      The Name. The unique identifier for the federated identity credential, which has a limit of 120 characters and must be URL friendly. The string is immutable after it's created. Required. Not nullable. Supports $filter (eq).
    • subject

      @SerializedName(value="subject", alternate="Subject") @Expose @Nullable public String subject
      The Subject. Required. The identifier of the external software workload within the external identity provider. Like the audience value, it has no fixed format; each identity provider uses their own - sometimes a GUID, sometimes a colon delimited identifier, sometimes arbitrary strings. The value here must match the sub claim within the token presented to Microsoft Entra ID. The combination of issuer and subject must be unique within the app. It has a limit of 600 characters. Supports $filter (eq).
  • Constructor Details

    • FederatedIdentityCredential

      public FederatedIdentityCredential()
  • Method Details

    • setRawObject

      public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json)
      Sets the raw JSON object
      Specified by:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Overrides:
      setRawObject in class Entity
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to