|
AuthenticationService v0.3.0+7-g8a7f190
|
A controller that manages application master data. More...
Public Member Functions | |
| ApplicationController (ApplicationRepository repository) | |
| Creates a new instance of the controller. More... | |
| ActionResult | Add ([Required] ApplicationName requestBody) |
| Adds a new application whose authentication is managed by the service. More... | |
| ActionResult | Delete ([Required] Application requestBody) |
| Removes an existing application from the service. More... | |
| JsonResult | List ([Range(0, int.MaxValue)] int pageNumber=0, [Range(1, int.MaxValue)]int numberOfResults=int.MaxValue) |
| Fetches the available applications organized in pages. More... | |
A controller that manages application master data.
| Joutsen.AuthenticationService.v2.ApplicationController.ApplicationController | ( | ApplicationRepository | repository | ) |
Creates a new instance of the controller.
| ActionResult Joutsen.AuthenticationService.v2.ApplicationController.Add | ( | [Required] ApplicationName | requestBody | ) |
Adds a new application whose authentication is managed by the service.
| requestBody | the model for the request body containing the name of the new application |
| ActionResult Joutsen.AuthenticationService.v2.ApplicationController.Delete | ( | [Required] Application | requestBody | ) |
Removes an existing application from the service.
| requestBody | the model for the request body containing the name or key identifying the application |
| JsonResult Joutsen.AuthenticationService.v2.ApplicationController.List | ( | [Range(0,int.MaxValue)] int | pageNumber = 0, |
| [Range(1, int.MaxValue)] int | numberOfResults = int.MaxValue |
||
| ) |
Fetches the available applications organized in pages.
| pageNumber | the zero based page number to fetch |
| numberOfResults | the maximum number of results to fetch |