C# Class Chaos.Portal.Authentication.Extension.AuthKey

Inheritance: AExtension
Afficher le fichier Open project: CHAOS-Community/CHAOS.Portal.Authentication

Méthodes publiques

Méthode Description
AuthKey ( IPortalApplication portalApplication, IAuthenticationRepository authenticationRepository ) : System
Create ( string name ) : Data.Model.AuthKey
Delete ( string name ) : ScalarResult
Get ( ) : IList
Login ( string token ) : Data.Session

Private Methods

Méthode Description
GetAuthenticationKey ( string hashed ) : Data.Model.AuthKey
ToHash ( string secret ) : string

Method Details

AuthKey() public méthode

public AuthKey ( IPortalApplication portalApplication, IAuthenticationRepository authenticationRepository ) : System
portalApplication IPortalApplication
authenticationRepository IAuthenticationRepository
Résultat System

Create() public méthode

public Create ( string name ) : Data.Model.AuthKey
name string
Résultat Data.Model.AuthKey

Delete() public méthode

public Delete ( string name ) : ScalarResult
name string
Résultat ScalarResult

Get() public méthode

public Get ( ) : IList
Résultat IList

Login() public méthode

public Login ( string token ) : Data.Session
token string
Résultat Data.Session