C# Class IronPigeon.Relay.Controllers.WindowsPushNotificationClientController

Inheritance: Controller
显示文件 Open project: AArnott/IronPigeon

Public Methods

Method Description
Delete ( string id, string clientSecret ) : System.Threading.Tasks.Task

Removes a client SID and secret so that push notifications can be sent to that app.

Put ( string id, string clientSecret ) : System.Threading.Tasks.Task

Stores a client SID and secret so that push notifications can be sent to that app.

WindowsPushNotificationClientController ( ) : System
WindowsPushNotificationClientController ( string tableName, string cloudConfigurationName ) : System

Private Methods

Method Description
Form ( ) : System.Web.Mvc.ActionResult
OneTimeInitializeAsync ( CloudStorageAccount azureAccount ) : System.Threading.Tasks.Task
PutClient ( PushNotificationClientEntity clientEntity ) : Task

Method Details

Delete() public method

Removes a client SID and secret so that push notifications can be sent to that app.
public Delete ( string id, string clientSecret ) : System.Threading.Tasks.Task
id string The Package Security Identifier (SID) of the client app.
clientSecret string The client secret of the app.
return System.Threading.Tasks.Task

Put() public method

Stores a client SID and secret so that push notifications can be sent to that app.
public Put ( string id, string clientSecret ) : System.Threading.Tasks.Task
id string The Package Security Identifier (SID) of the client app.
clientSecret string The client secret of the app.
return System.Threading.Tasks.Task

WindowsPushNotificationClientController() public method

public WindowsPushNotificationClientController ( ) : System
return System

WindowsPushNotificationClientController() public method

public WindowsPushNotificationClientController ( string tableName, string cloudConfigurationName ) : System
tableName string
cloudConfigurationName string
return System