Class SimpleAuthenticationWebService
Authentication service implementation. Reference implementation: all requests are authenticated and a token issued.
Inheritance
System.Object
SimpleAuthenticationWebService
Namespace: Microsoft.PackageGraph.MicrosoftUpdate.Endpoints.ClientSync
Assembly: package-graph-endpoints-microsoft-update.dll
Syntax
public class SimpleAuthenticationWebService
Methods
| Improve this Doc View SourceGetAuthorizationCookieAsync(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 |