Class AuthenticationWebService
Authentication service implementation; mock implementation, all requests get an authorization cookie, regardless of credentials
Inheritance
System.Object
AuthenticationWebService
Namespace: Microsoft.PackageGraph.MicrosoftUpdate.Endpoints.ServerSync
Assembly: package-graph-endpoints-microsoft-update.dll
Syntax
public class AuthenticationWebService
Methods
| Improve this Doc View SourceGetAuthorizationCookieAsync(GetAuthorizationCookieRequest)
Return a mock cookie
Declaration
public Task<AuthorizationCookie> GetAuthorizationCookieAsync(GetAuthorizationCookieRequest request)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.UpdateServices.WebServices.DssAuthentication.GetAuthorizationCookieRequest | request | The SOAP request for an authorization cookie |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<Microsoft.UpdateServices.WebServices.DssAuthentication.AuthorizationCookie> | The authorization cookie |
PingAsync(PingRequest)
Handles ping requests from clients.
Declaration
public Task<PingResponse> PingAsync(PingRequest request)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.UpdateServices.WebServices.DssAuthentication.PingRequest | request | PingRequest |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<Microsoft.UpdateServices.WebServices.DssAuthentication.PingResponse> |
Exceptions
Type | Condition |
---|---|
System.NotImplementedException | Always throws not implemented |