KlusterKite  0.0.0
A framework to create scalable and redundant services based on awesome Akka.Net project.
KlusterKite.NodeManager.WebApi.AuthenticationController Class Reference

Authenticate web api users More...

Inheritance diagram for KlusterKite.NodeManager.WebApi.AuthenticationController:

Public Member Functions

IActionResult GetUser ()
 Gets the currently authenticated user name More...
 
IActionResult GetMyScope ()
 Gets the currently authenticated user scope list (the list of granted privileges) More...
 
IEnumerable< PrivilegeDescriptionGetRegisteredPrivileges ()
 Gets the list of the defined privileges More...
 

Detailed Description

Authenticate web api users

Definition at line 26 of file AuthenticationController.cs.

Member Function Documentation

◆ GetMyScope()

IActionResult KlusterKite.NodeManager.WebApi.AuthenticationController.GetMyScope ( )

Gets the currently authenticated user scope list (the list of granted privileges)

Returns
The user name

Definition at line 53 of file AuthenticationController.cs.

◆ GetRegisteredPrivileges()

IEnumerable<PrivilegeDescription> KlusterKite.NodeManager.WebApi.AuthenticationController.GetRegisteredPrivileges ( )

Gets the list of the defined privileges

Returns
the list of the defined privileges

Definition at line 66 of file AuthenticationController.cs.

◆ GetUser()

IActionResult KlusterKite.NodeManager.WebApi.AuthenticationController.GetUser ( )

Gets the currently authenticated user name

Returns
The user name

Definition at line 34 of file AuthenticationController.cs.


The documentation for this class was generated from the following file: