Table of Contents

Class JEAuthenticatorBuilder

Namespace: CmlLib.Core.Auth.Microsoft.Authenticators
Assembly: CmlLib.Core.Auth.Microsoft.dll

public class JEAuthenticatorBuilder

Inheritance

objectJEAuthenticatorBuilder

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Properties

CheckGameOwnership

public bool CheckGameOwnership { get; set; }

Property Value

bool

ProfileSource

public ISessionSource<JEProfile> ProfileSource { get; set; }

Property Value

ISessionSource<JEProfile>

TokenSource

public ISessionSource<JEToken> TokenSource { get; set; }

Property Value

ISessionSource<JEToken>

XboxSessionSource

public ISessionSource<XboxAuthTokens> XboxSessionSource { get; set; }

Property Value

ISessionSource<XboxAuthTokens>

Methods

Build()

public IAuthenticator Build()

Returns

IAuthenticator

GameOwnershipChecker()

public IAuthenticator GameOwnershipChecker()

Returns

IAuthenticator

ProfileAuthenticator()

public IAuthenticator ProfileAuthenticator()

Returns

IAuthenticator

ProfileValidator()

public ISessionValidator ProfileValidator()

Returns

ISessionValidator

SessionCleaner()

public IAuthenticator SessionCleaner()

Returns

IAuthenticator

TokenAndProfileValidator()

public ISessionValidator TokenAndProfileValidator()

Returns

ISessionValidator

TokenAuthenticator()

public IAuthenticator TokenAuthenticator()

Returns

IAuthenticator

TokenValidator()

public ISessionValidator TokenValidator()

Returns

ISessionValidator

WithGameOwnershipChecker()

public JEAuthenticatorBuilder WithGameOwnershipChecker()

Returns

JEAuthenticatorBuilder

WithGameOwnershipChecker(bool)

public JEAuthenticatorBuilder WithGameOwnershipChecker(bool value)

Parameters

value bool

Returns

JEAuthenticatorBuilder

WithProfileSource(ISessionSource<JEProfile>)

public JEAuthenticatorBuilder WithProfileSource(ISessionSource<JEProfile> profileSource)

Parameters

profileSource ISessionSource<JEProfile>

Returns

JEAuthenticatorBuilder

WithTokenSource(ISessionSource<JEToken>)

public JEAuthenticatorBuilder WithTokenSource(ISessionSource<JEToken> tokenSource)

Parameters

tokenSource ISessionSource<JEToken>

Returns

JEAuthenticatorBuilder

WithXboxSessionSource(ISessionSource<XboxAuthTokens>)

public JEAuthenticatorBuilder WithXboxSessionSource(ISessionSource<XboxAuthTokens> sessionSource)

Parameters

sessionSource ISessionSource<XboxAuthTokens>

Returns

JEAuthenticatorBuilder