Table of Contents

Class CompositeAuthenticatorBase

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

public abstract class CompositeAuthenticatorBase : ICompositeAuthenticator, IAuthenticator

Inheritance

objectCompositeAuthenticatorBase

Derived

AuthenticatorCollection, FallbackAuthenticator, NestedAuthenticator

Implements

ICompositeAuthenticator, IAuthenticator

Inherited Members

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

Extension Methods

Extensions.AddAuthenticatorCollection(ICompositeAuthenticator, ISessionValidator, Action<AuthenticatorCollection>), Extensions.AddAuthenticatorWithoutValidator(ICompositeAuthenticator, IAuthenticator), Extensions.AddFallbackAuthenticator(ICompositeAuthenticator, ISessionValidator, Action<FallbackAuthenticator>), Extensions.AddForceMicrosoftOAuth(ICompositeAuthenticator, MicrosoftOAuthClientInfo, Func<MicrosoftOAuthBuilder, IAuthenticator>), Extensions.AddForceXboxAuth(ICompositeAuthenticator, Func<XboxAuthBuilder, IAuthenticator>), Extensions.AddMicrosoftOAuth(ICompositeAuthenticator, MicrosoftOAuthClientInfo, Func<MicrosoftOAuthBuilder, IAuthenticator>), Extensions.AddMicrosoftOAuthBrowserSignout(ICompositeAuthenticator, MicrosoftOAuthClientInfo), Extensions.AddMicrosoftOAuthBrowserSignout(ICompositeAuthenticator, MicrosoftOAuthClientInfo, Action<CodeFlowBuilder>), Extensions.AddMicrosoftOAuthSignout(ICompositeAuthenticator, MicrosoftOAuthClientInfo), Extensions.AddSessionCleaner<T>(ICompositeAuthenticator, ISessionSource<T>), Extensions.AddXboxAuth(ICompositeAuthenticator, Func<XboxAuthBuilder, IAuthenticator>), Extensions.AddXboxAuthSignout(ICompositeAuthenticator)

Properties

Authenticators

protected IEnumerable<IAuthenticator> Authenticators { get; }

Property Value

IEnumerable<IAuthenticator>

PostAuthenticators

protected IEnumerable<IAuthenticator> PostAuthenticators { get; }

Property Value

IEnumerable<IAuthenticator>

Validators

protected IEnumerable<ISessionValidator> Validators { get; }

Property Value

IEnumerable<ISessionValidator>

Methods

AddAuthenticator(ISessionValidator, IAuthenticator)

public void AddAuthenticator(ISessionValidator validator, IAuthenticator authenticator)

Parameters

validator ISessionValidator

authenticator IAuthenticator

AddPostAuthenticator(IAuthenticator)

public void AddPostAuthenticator(IAuthenticator authenticator)

Parameters

authenticator IAuthenticator

Clear()

public void Clear()

ExecuteAsync(AuthenticateContext)

public abstract ValueTask ExecuteAsync(AuthenticateContext context)

Parameters

context AuthenticateContext

Returns

ValueTask

ExecutePostAuthenticators(AuthenticateContext)

protected ValueTask ExecutePostAuthenticators(AuthenticateContext context)

Parameters

context AuthenticateContext

Returns

ValueTask