Class MicrosoftOAuthValidator
Namespace: XboxAuthNet.Game.OAuth
Assembly: XboxAuthNet.Game.dll
public class MicrosoftOAuthValidator : SessionValidator<MicrosoftOAuthResponse>, ISessionValidator
Inheritance
object ← SessionValidator<MicrosoftOAuthResponse> ← MicrosoftOAuthValidator
Implements
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