Compartir a través de


Authorization Class

Definition

Authorization payload.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Security.Models.AuthorizationTypeConverter))]
public class Authorization : Microsoft.Azure.PowerShell.Cmdlets.Security.Models.IAuthorization
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Security.Models.AuthorizationTypeConverter))>]
type Authorization = class
    interface IAuthorization
    interface IJsonSerializable
Public Class Authorization
Implements IAuthorization
Inheritance
Authorization
Attributes
Implements

Constructors

Name Description
Authorization()

Creates an new Authorization instance.

Properties

Name Description
Code

Gets or sets one-time OAuth code to exchange for refresh and access tokens.

Only used during PUT/PATCH operations. The secret is cleared during GET.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Authorization.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Authorization.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Security.Models.IAuthorization.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of Authorization into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to