Authorization Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Authorization() |
Creates an new Authorization instance. |
Properties
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
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() |