Table of Contents

Class MicrosoftOAuthClientInfo

Namespace: XboxAuthNet.Game.OAuth
Assembly: XboxAuthNet.Game.dll

public record MicrosoftOAuthClientInfo : IEquatable<MicrosoftOAuthClientInfo>

Inheritance

objectMicrosoftOAuthClientInfo

Implements

IEquatable<MicrosoftOAuthClientInfo>

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

MicrosoftOAuthClientInfo(string, string)

public MicrosoftOAuthClientInfo(string ClientId, string Scopes)

Parameters

ClientId string

Scopes string

Properties

ClientId

public string ClientId { get; init; }

Property Value

string

Scopes

public string Scopes { get; init; }

Property Value

string

Methods

CreateApiClientForOAuthCode(HttpClient)

public ICodeFlowApiClient CreateApiClientForOAuthCode(HttpClient httpClient)

Parameters

httpClient HttpClient

Returns

ICodeFlowApiClient