Interface IRosterClient
Roster client interface.
Namespace: Microsoft.XboxStudios.SQTech.Roster.Client
Assembly: Microsoft.XboxStudios.SQTech.Roster.Client.Common.dll
Syntax
public interface IRosterClient
Methods
View SourceAuthenticateAsync(CancellationToken)
Forces the authentication UI flow.
Declaration
Task AuthenticateAsync(CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
CancellationToken | cancellationToken | A cancellation token. |
Returns
Type | Description |
---|---|
Task | A task that represents the work to authenticate to Azure Active Directory. |
ForOrg(String)
Gets the org context.
Declaration
IOrgContext ForOrg(string orgName)
Parameters
Type | Name | Description |
---|---|---|
System.String | orgName | The name of the org in which to retrieve a context. |
Returns
Type | Description |
---|---|
IOrgContext | The org context as IOrgContext. |
ForRoot()
Gets the root context.
Declaration
IRootContext ForRoot()
Returns
Type | Description |
---|---|
IRootContext | The root context as IRootContext. |