KlusterKite  0.0.0
A framework to create scalable and redundant services based on awesome Akka.Net project.
KlusterKite.Security.Attributes.IClient Interface Reference

The description of the client applications More...

Inheritance diagram for KlusterKite.Security.Attributes.IClient:
KlusterKite.NodeManager.Authentication.Clients.Launcher KlusterKite.NodeManager.Authentication.Clients.WebApplication

Public Member Functions

Task< AuthenticationResultAuthenticateUserAsync (string userName, string password)
 Authenticate user using its login and password More...
 
Task< AuthenticationResultAuthenticateSelf ()
 The application authenticates itself and will make operations on it's own behalf. More...
 
Task< AuthenticationResultAuthenticateWithRefreshTicket (RefreshTicket refreshTicket)
 Renews authentication session More...
 

Properties

string ClientId [get]
 Gets the client application id More...
 
string Name [get]
 Gets the client application name More...
 
string Type [get]
 Gets the client type name More...
 
IEnumerable< string > OwnScope [get]
 Gets the authorization scope for application More...
 

Detailed Description

The description of the client applications

Definition at line 18 of file IClient.cs.

Member Function Documentation

◆ AuthenticateSelf()

Task<AuthenticationResult> KlusterKite.Security.Attributes.IClient.AuthenticateSelf ( )

The application authenticates itself and will make operations on it's own behalf.

Returns
The generated user session or null, in case self authentication is denied

Implemented in KlusterKite.NodeManager.Authentication.Clients.WebApplication, and KlusterKite.NodeManager.Authentication.Clients.Launcher.

◆ AuthenticateUserAsync()

Task<AuthenticationResult> KlusterKite.Security.Attributes.IClient.AuthenticateUserAsync ( string  userName,
string  password 
)

Authenticate user using its login and password

Parameters
userNameThe user name (login)
passwordThe user password
Returns
The authenticated user or null

Implemented in KlusterKite.NodeManager.Authentication.Clients.WebApplication, and KlusterKite.NodeManager.Authentication.Clients.Launcher.

◆ AuthenticateWithRefreshTicket()

Task<AuthenticationResult> KlusterKite.Security.Attributes.IClient.AuthenticateWithRefreshTicket ( RefreshTicket  refreshTicket)

Renews authentication session

Parameters
refreshTicketThe refresh ticket data
Returns
The subsequent authentication result

Implemented in KlusterKite.NodeManager.Authentication.Clients.WebApplication, and KlusterKite.NodeManager.Authentication.Clients.Launcher.

Property Documentation

◆ ClientId

string KlusterKite.Security.Attributes.IClient.ClientId
get

Gets the client application id

Definition at line 23 of file IClient.cs.

◆ Name

string KlusterKite.Security.Attributes.IClient.Name
get

Gets the client application name

Definition at line 28 of file IClient.cs.

◆ OwnScope

IEnumerable<string> KlusterKite.Security.Attributes.IClient.OwnScope
get

Gets the authorization scope for application

Definition at line 38 of file IClient.cs.

◆ Type

string KlusterKite.Security.Attributes.IClient.Type
get

Gets the client type name

Definition at line 33 of file IClient.cs.


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