Class Extensions
Namespace: CmlLib.Core.Auth.Microsoft
Assembly: CmlLib.Core.Auth.Microsoft.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
AddForceJEAuthenticator(ICompositeAuthenticator)
public static void AddForceJEAuthenticator(this ICompositeAuthenticator self)
Parameters
self ICompositeAuthenticator
AddForceJEAuthenticator(ICompositeAuthenticator, Func<JEAuthenticatorBuilder, IAuthenticator>)
public static void AddForceJEAuthenticator(this ICompositeAuthenticator self, Func<JEAuthenticatorBuilder, IAuthenticator> builderInvoker)
Parameters
self ICompositeAuthenticator
builderInvoker Func<JEAuthenticatorBuilder, IAuthenticator>
AddForceMicrosoftOAuthForJE(ICompositeAuthenticator, Func<MicrosoftOAuthBuilder, IAuthenticator>)
public static void AddForceMicrosoftOAuthForJE(this ICompositeAuthenticator self, Func<MicrosoftOAuthBuilder, IAuthenticator> builderInvoker)
Parameters
self ICompositeAuthenticator
builderInvoker Func<MicrosoftOAuthBuilder, IAuthenticator>
AddForceXboxAuthForJE(ICompositeAuthenticator, Func<XboxAuthBuilder, IAuthenticator>)
public static void AddForceXboxAuthForJE(this ICompositeAuthenticator self, Func<XboxAuthBuilder, IAuthenticator> builderInvoker)
Parameters
self ICompositeAuthenticator
builderInvoker Func<XboxAuthBuilder, IAuthenticator>
AddJEAuthenticator(ICompositeAuthenticator)
public static void AddJEAuthenticator(this ICompositeAuthenticator @this)
Parameters
this ICompositeAuthenticator
AddJEAuthenticator(ICompositeAuthenticator, Func<JEAuthenticatorBuilder, IAuthenticator>)
public static void AddJEAuthenticator(this ICompositeAuthenticator self, Func<JEAuthenticatorBuilder, IAuthenticator> authenticatorBuilder)
Parameters
self ICompositeAuthenticator
authenticatorBuilder Func<JEAuthenticatorBuilder, IAuthenticator>
AddJESignout(ICompositeAuthenticator)
public static void AddJESignout(this ICompositeAuthenticator self)
Parameters
self ICompositeAuthenticator
AddMicrosoftOAuthForJE(ICompositeAuthenticator, Func<MicrosoftOAuthBuilder, IAuthenticator>)
public static void AddMicrosoftOAuthForJE(this ICompositeAuthenticator self, Func<MicrosoftOAuthBuilder, IAuthenticator> builderInvoker)
Parameters
self ICompositeAuthenticator
builderInvoker Func<MicrosoftOAuthBuilder, IAuthenticator>
AddXboxAuthForJE(ICompositeAuthenticator, Func<XboxAuthBuilder, IAuthenticator>)
public static void AddXboxAuthForJE(this ICompositeAuthenticator self, Func<XboxAuthBuilder, IAuthenticator> builderInvoker)
Parameters
self ICompositeAuthenticator
builderInvoker Func<XboxAuthBuilder, IAuthenticator>
ExecuteForLauncherAsync(NestedAuthenticator)
public static Task<MSession> ExecuteForLauncherAsync(this NestedAuthenticator self)
Parameters
self NestedAuthenticator
Returns
Task<MSession>
GetJEAccountByUsername(XboxGameAccountCollection, string)
public static JEGameAccount GetJEAccountByUsername(this XboxGameAccountCollection self, string username)
Parameters
self XboxGameAccountCollection
username string