Interface IConnectManager
Assembly: MediaBrowser.Controller.dll
public interface IConnectManager
Methods
Authenticates the specified username.
Declaration
Task<ConnectAuthenticationResult> Authenticate(string username, string password, CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
System.String |
username |
|
System.String |
password |
|
System.Threading.CancellationToken |
cancellationToken |
|
Returns
Declaration
User GetUserFromExchangeToken(string token)
Parameters
Type |
Name |
Description |
System.String |
token |
|
Returns
Determines whether [is authorization token valid] [the specified token].
Declaration
bool IsAuthorizationTokenValid(string token)
Parameters
Type |
Name |
Description |
System.String |
token |
The token.
|
Returns
Type |
Description |
System.Boolean |
true if [is authorization token valid] [the specified token]; otherwise, false .
|
Declaration
Task<UserLinkResult> LinkUser(User user, string connectUsername)
Parameters
Type |
Name |
Description |
User |
user |
|
System.String |
connectUsername |
|
Returns
Declaration
Task RemoveConnect(User user)
Parameters
Type |
Name |
Description |
User |
user |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Extension Methods