Class Extensions
Namespace: XboxAuthNet.Game
Assembly: XboxAuthNet.Game.dll
public static class Extensions
Inheritance
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Methods
AddAuthenticatorCollection(ICompositeAuthenticator, ISessionValidator, Action<AuthenticatorCollection>)
public static void AddAuthenticatorCollection(this ICompositeAuthenticator self, ISessionValidator validator, Action<AuthenticatorCollection> collection)
Parameters
validator ISessionValidator
collection Action<AuthenticatorCollection>
AddAuthenticatorWithoutValidator(ICompositeAuthenticator, IAuthenticator)
public static void AddAuthenticatorWithoutValidator(this ICompositeAuthenticator self, IAuthenticator authenticator)
Parameters
authenticator IAuthenticator
AddFallbackAuthenticator(ICompositeAuthenticator, ISessionValidator, Action<FallbackAuthenticator>)
public static void AddFallbackAuthenticator(this ICompositeAuthenticator self, ISessionValidator validator, Action<FallbackAuthenticator> fallback)
Parameters
validator ISessionValidator
fallback Action<FallbackAuthenticator>
AddForceMicrosoftOAuth(ICompositeAuthenticator, MicrosoftOAuthClientInfo, Func<MicrosoftOAuthBuilder, IAuthenticator>)
public static void AddForceMicrosoftOAuth(this ICompositeAuthenticator self, MicrosoftOAuthClientInfo clientInfo, Func<MicrosoftOAuthBuilder, IAuthenticator> builderInvoker)
Parameters
clientInfo MicrosoftOAuthClientInfo
builderInvoker Func<MicrosoftOAuthBuilder, IAuthenticator>
AddForceXboxAuth(ICompositeAuthenticator, Func<XboxAuthBuilder, IAuthenticator>)
public static void AddForceXboxAuth(this ICompositeAuthenticator self, Func<XboxAuthBuilder, IAuthenticator> builderInvoker)
Parameters
builderInvoker Func<XboxAuthBuilder, IAuthenticator>
AddMicrosoftOAuth(ICompositeAuthenticator, MicrosoftOAuthClientInfo, Func<MicrosoftOAuthBuilder, IAuthenticator>)
public static void AddMicrosoftOAuth(this ICompositeAuthenticator self, MicrosoftOAuthClientInfo clientInfo, Func<MicrosoftOAuthBuilder, IAuthenticator> builderInvoker)
Parameters
clientInfo MicrosoftOAuthClientInfo
builderInvoker Func<MicrosoftOAuthBuilder, IAuthenticator>
AddMicrosoftOAuthBrowserSignout(ICompositeAuthenticator, MicrosoftOAuthClientInfo)
public static void AddMicrosoftOAuthBrowserSignout(this ICompositeAuthenticator self, MicrosoftOAuthClientInfo clientInfo)
Parameters
clientInfo MicrosoftOAuthClientInfo
AddMicrosoftOAuthBrowserSignout(ICompositeAuthenticator, MicrosoftOAuthClientInfo, Action<CodeFlowBuilder>)
public static void AddMicrosoftOAuthBrowserSignout(this ICompositeAuthenticator self, MicrosoftOAuthClientInfo clientInfo, Action<CodeFlowBuilder> builderInvoker)
Parameters
clientInfo MicrosoftOAuthClientInfo
builderInvoker Action<CodeFlowBuilder>
AddMicrosoftOAuthSignout(ICompositeAuthenticator, MicrosoftOAuthClientInfo)
public static void AddMicrosoftOAuthSignout(this ICompositeAuthenticator self, MicrosoftOAuthClientInfo clientInfo)
Parameters
clientInfo MicrosoftOAuthClientInfo
AddSessionCleaner<T>(ICompositeAuthenticator, ISessionSource<T>)
public static void AddSessionCleaner<T>(this ICompositeAuthenticator self, ISessionSource<T> sessionSource)
Parameters
sessionSource ISessionSource<T>
Type Parameters
T
AddXboxAuth(ICompositeAuthenticator, Func<XboxAuthBuilder, IAuthenticator>)
public static void AddXboxAuth(this ICompositeAuthenticator self, Func<XboxAuthBuilder, IAuthenticator> builderInvoker)
Parameters
builderInvoker Func<XboxAuthBuilder, IAuthenticator>
AddXboxAuthSignout(ICompositeAuthenticator)
public static void AddXboxAuthSignout(this ICompositeAuthenticator self)