AppserviceGithubToken Class

Definition

Github access token for Appservice CLI github integration.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.AppserviceGithubTokenTypeConverter))]
public class AppserviceGithubToken : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IAppserviceGithubToken
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.AppserviceGithubTokenTypeConverter))>]
type AppserviceGithubToken = class
    interface IAppserviceGithubToken
    interface IJsonSerializable
Public Class AppserviceGithubToken
Implements IAppserviceGithubToken
Inheritance
AppserviceGithubToken
Attributes
Implements

Constructors

AppserviceGithubToken()

Creates an new AppserviceGithubToken instance.

Properties

AccessToken

Github access token for Appservice CLI github integration

ErrorMessage

Error message if unable to get token

GotToken

True if valid github token received, False otherwise

Scope

Scope of the github access token

TokenType

token type

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AppserviceGithubToken.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AppserviceGithubToken.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IAppserviceGithubToken.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of AppserviceGithubToken into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to