KlusterKite  0.0.0
A framework to create scalable and redundant services based on awesome Akka.Net project.
KlusterKite.Web.Authentication.AuthenticationProvider Class Reference

Provides methods for authentication More...

Public Member Functions

 AuthenticationProvider (IComponentContext container)
 Initializes a new instance of the AuthenticationProvider class. More...
 
async Task< IClientGetClient (string clientId, string clientSecret)
 Tries to acquire client by it's credentials More...
 

Detailed Description

Provides methods for authentication

Definition at line 27 of file AuthenticationProvider.cs.

Constructor & Destructor Documentation

◆ AuthenticationProvider()

KlusterKite.Web.Authentication.AuthenticationProvider.AuthenticationProvider ( IComponentContext  container)

Initializes a new instance of the AuthenticationProvider class.

Parameters
containerThe container.

Definition at line 40 of file AuthenticationProvider.cs.

Member Function Documentation

◆ GetClient()

async Task<IClient> KlusterKite.Web.Authentication.AuthenticationProvider.GetClient ( string  clientId,
string  clientSecret 
)

Tries to acquire client by it's credentials

Parameters
clientIdThe client id
clientSecretThe client secret
Returns
The client

Definition at line 53 of file AuthenticationProvider.cs.


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