Table of Contents

Class Extensions

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

public static class Extensions

Inheritance

objectExtensions

Inherited Members

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

Methods

AddAuthenticatorCollection(ICompositeAuthenticator, ISessionValidator, Action<AuthenticatorCollection>)

public static void AddAuthenticatorCollection(this ICompositeAuthenticator self, ISessionValidator validator, Action<AuthenticatorCollection> collection)

Parameters

self ICompositeAuthenticator

validator ISessionValidator

collection Action<AuthenticatorCollection>

AddAuthenticatorWithoutValidator(ICompositeAuthenticator, IAuthenticator)

public static void AddAuthenticatorWithoutValidator(this ICompositeAuthenticator self, IAuthenticator authenticator)

Parameters

self ICompositeAuthenticator

authenticator IAuthenticator

AddFallbackAuthenticator(ICompositeAuthenticator, ISessionValidator, Action<FallbackAuthenticator>)

public static void AddFallbackAuthenticator(this ICompositeAuthenticator self, ISessionValidator validator, Action<FallbackAuthenticator> fallback)

Parameters

self ICompositeAuthenticator

validator ISessionValidator

fallback Action<FallbackAuthenticator>

AddForceMicrosoftOAuth(ICompositeAuthenticator, MicrosoftOAuthClientInfo, Func<MicrosoftOAuthBuilder, IAuthenticator>)

public static void AddForceMicrosoftOAuth(this ICompositeAuthenticator self, MicrosoftOAuthClientInfo clientInfo, Func<MicrosoftOAuthBuilder, IAuthenticator> builderInvoker)

Parameters

self ICompositeAuthenticator

clientInfo MicrosoftOAuthClientInfo

builderInvoker Func<MicrosoftOAuthBuilder, IAuthenticator>

AddForceXboxAuth(ICompositeAuthenticator, Func<XboxAuthBuilder, IAuthenticator>)

public static void AddForceXboxAuth(this ICompositeAuthenticator self, Func<XboxAuthBuilder, IAuthenticator> builderInvoker)

Parameters

self ICompositeAuthenticator

builderInvoker Func<XboxAuthBuilder, IAuthenticator>

AddMicrosoftOAuth(ICompositeAuthenticator, MicrosoftOAuthClientInfo, Func<MicrosoftOAuthBuilder, IAuthenticator>)

public static void AddMicrosoftOAuth(this ICompositeAuthenticator self, MicrosoftOAuthClientInfo clientInfo, Func<MicrosoftOAuthBuilder, IAuthenticator> builderInvoker)

Parameters

self ICompositeAuthenticator

clientInfo MicrosoftOAuthClientInfo

builderInvoker Func<MicrosoftOAuthBuilder, IAuthenticator>

AddMicrosoftOAuthBrowserSignout(ICompositeAuthenticator, MicrosoftOAuthClientInfo)

public static void AddMicrosoftOAuthBrowserSignout(this ICompositeAuthenticator self, MicrosoftOAuthClientInfo clientInfo)

Parameters

self ICompositeAuthenticator

clientInfo MicrosoftOAuthClientInfo

AddMicrosoftOAuthBrowserSignout(ICompositeAuthenticator, MicrosoftOAuthClientInfo, Action<CodeFlowBuilder>)

public static void AddMicrosoftOAuthBrowserSignout(this ICompositeAuthenticator self, MicrosoftOAuthClientInfo clientInfo, Action<CodeFlowBuilder> builderInvoker)

Parameters

self ICompositeAuthenticator

clientInfo MicrosoftOAuthClientInfo

builderInvoker Action<CodeFlowBuilder>

AddMicrosoftOAuthSignout(ICompositeAuthenticator, MicrosoftOAuthClientInfo)

public static void AddMicrosoftOAuthSignout(this ICompositeAuthenticator self, MicrosoftOAuthClientInfo clientInfo)

Parameters

self ICompositeAuthenticator

clientInfo MicrosoftOAuthClientInfo

AddSessionCleaner<T>(ICompositeAuthenticator, ISessionSource<T>)

public static void AddSessionCleaner<T>(this ICompositeAuthenticator self, ISessionSource<T> sessionSource)

Parameters

self ICompositeAuthenticator

sessionSource ISessionSource<T>

Type Parameters

T

AddXboxAuth(ICompositeAuthenticator, Func<XboxAuthBuilder, IAuthenticator>)

public static void AddXboxAuth(this ICompositeAuthenticator self, Func<XboxAuthBuilder, IAuthenticator> builderInvoker)

Parameters

self ICompositeAuthenticator

builderInvoker Func<XboxAuthBuilder, IAuthenticator>

AddXboxAuthSignout(ICompositeAuthenticator)

public static void AddXboxAuthSignout(this ICompositeAuthenticator self)

Parameters

self ICompositeAuthenticator