Class XboxDeviceTokenAuth
Namespace: XboxAuthNet.Game.XboxAuth
Assembly: XboxAuthNet.Game.dll
public class XboxDeviceTokenAuth : SessionAuthenticator<XboxAuthTokens>, IAuthenticator
Inheritance
object ← SessionAuthenticator<XboxAuthTokens> ← XboxDeviceTokenAuth
Implements
Inherited Members
SessionAuthenticator<XboxAuthTokens>.SessionSource, SessionAuthenticator<XboxAuthTokens>.ExecuteAsync(AuthenticateContext), SessionAuthenticator<XboxAuthTokens>.Authenticate(AuthenticateContext), SessionAuthenticator<XboxAuthTokens>.GetSessionFromStorage(), object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
XboxDeviceTokenAuth(string, string, IXboxRequestSigner, ISessionSource<XboxAuthTokens>)
public XboxDeviceTokenAuth(string deviceType, string deviceVersion, IXboxRequestSigner signer, ISessionSource<XboxAuthTokens> sessionSource)
Parameters
deviceType string
deviceVersion string
signer IXboxRequestSigner
sessionSource ISessionSource<XboxAuthTokens>
Methods
Authenticate(AuthenticateContext)
protected override ValueTask<XboxAuthTokens?> Authenticate(AuthenticateContext context)
Parameters
context AuthenticateContext