Table of Contents

Class MicrosoftOAuthValidator

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

public class MicrosoftOAuthValidator : SessionValidator<MicrosoftOAuthResponse>, ISessionValidator

Inheritance

objectSessionValidator<MicrosoftOAuthResponse>MicrosoftOAuthValidator

Implements

ISessionValidator

Inherited Members

SessionValidator<MicrosoftOAuthResponse>.Validate(AuthenticateContext), SessionValidator<MicrosoftOAuthResponse>.Validate(AuthenticateContext, MicrosoftOAuthResponse), object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

MicrosoftOAuthValidator(ISessionSource<MicrosoftOAuthResponse>)

public MicrosoftOAuthValidator(ISessionSource<MicrosoftOAuthResponse> sessionSource)

Parameters

sessionSource ISessionSource<MicrosoftOAuthResponse>

Methods

Validate(AuthenticateContext, MicrosoftOAuthResponse)

protected override ValueTask<bool> Validate(AuthenticateContext context, MicrosoftOAuthResponse session)

Parameters

context AuthenticateContext

session MicrosoftOAuthResponse

Returns

ValueTask<bool>