Partager via


GitHub Class

Definition

The configuration settings of the GitHub provider.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.GitHubTypeConverter))]
public class GitHub : Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.IGitHub
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.GitHubTypeConverter))>]
type GitHub = class
    interface IGitHub
    interface IJsonSerializable
Public Class GitHub
Implements IGitHub
Inheritance
GitHub
Attributes
Implements

Constructors

GitHub()

Creates an new GitHub instance.

Properties

Enabled

false if the GitHub provider should not be enabled despite the set registration; otherwise, true.

LoginScope

A list of the scopes that should be requested while authenticating.

RegistrationClientId

The Client ID of the app used for login.

RegistrationClientSecretSettingName

The app setting name that contains the client secret.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of GitHub.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of GitHub.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.IGitHub.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of GitHub into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to