Share via


MicrosoftGraphOptionalClaim Class

Definition

optionalClaim

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.MicrosoftGraphOptionalClaimTypeConverter))]
public class MicrosoftGraphOptionalClaim : Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphOptionalClaim, Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Runtime.IAssociativeArray<object>
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.MicrosoftGraphOptionalClaimTypeConverter))>]
type MicrosoftGraphOptionalClaim = class
    interface IMicrosoftGraphOptionalClaim
    interface IJsonSerializable
    interface IAssociativeArray<obj>
Public Class MicrosoftGraphOptionalClaim
Implements IAssociativeArray(Of Object), IMicrosoftGraphOptionalClaim
Inheritance
MicrosoftGraphOptionalClaim
Attributes
Implements

Constructors

MicrosoftGraphOptionalClaim()

Creates an new MicrosoftGraphOptionalClaim instance.

Fields

__additionalProperties

Properties

AdditionalProperty

Additional properties of the claim. If a property exists in this collection, it modifies the behavior of the optional claim specified in the name property.

Essential

If the value is true, the claim specified by the client is necessary to ensure a smooth authorization experience for the specific task requested by the end user. The default value is false.

Item[String]
Name

The name of the optional claim.

Source

The source (directory object) of the claim. There are predefined claims and user-defined claims from extension properties. If the source value is null, the claim is a predefined optional claim. If the source value is user, the value in the name property is the extension property from the user object.

Methods

Add(String, Object)
Clear()
ContainsKey(String)
CopyFrom(IDictionary)
CopyFrom(PSObject)
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of MicrosoftGraphOptionalClaim.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of MicrosoftGraphOptionalClaim.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphOptionalClaim.

FromJsonString(String)

Creates a new instance of MicrosoftGraphOptionalClaim, deserializing the content from a json string.

Remove(String)
ToJson(JsonObject, SerializationMode)

Serializes this instance of MicrosoftGraphOptionalClaim into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
TryGetValue(String, Object)

Operators

Implicit(MicrosoftGraphOptionalClaim to Dictionary<String,Object>)

Explicit Interface Implementations

IAssociativeArray<Object>.AdditionalProperties

Applies to