Class SimpleAuthenticationWebService
Authentication service implementation. Reference implementation: all requests are authenticated and a token issued.
Inheritance
System.Object
SimpleAuthenticationWebService
Namespace: Microsoft.UpdateServices.ClientSync.Server
Assembly: client-server-sync-lib.dll
Syntax
public class SimpleAuthenticationWebService : ISimpleAuthenticationWebService
Methods
GetAuthorizationCookieAsync(GetAuthorizationCookieRequest)
Handle requests for a authorization token. This implementation issues tokens for all requests without performing any checks.
Declaration
public Task<AuthorizationCookie> GetAuthorizationCookieAsync(GetAuthorizationCookieRequest request)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.UpdateServices.WebServices.ClientAuthentication.GetAuthorizationCookieRequest | request | The request paramerets. Not used in this implementation. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<Microsoft.UpdateServices.WebServices.ClientAuthentication.AuthorizationCookie> | Authorization cookie |