Table of Contents

Class StaticSessionAuthenticator<T>

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

public class StaticSessionAuthenticator<T> : SessionAuthenticator<T>, IAuthenticator

Type Parameters

T

Inheritance

objectSessionAuthenticator<T>StaticSessionAuthenticator<T>

Implements

IAuthenticator

Inherited Members

SessionAuthenticator<T>.SessionSource, SessionAuthenticator<T>.ExecuteAsync(AuthenticateContext), SessionAuthenticator<T>.Authenticate(AuthenticateContext), SessionAuthenticator<T>.GetSessionFromStorage(), object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

StaticSessionAuthenticator(T?, ISessionSource<T>)

public StaticSessionAuthenticator(T? session, ISessionSource<T> sessionSource)

Parameters

session T?

sessionSource ISessionSource<T>

Methods

Authenticate(AuthenticateContext)

protected override ValueTask<T?> Authenticate(AuthenticateContext context)

Parameters

context AuthenticateContext

Returns

ValueTask<T?>