Show / Hide Table of Contents

Interface ISyncAuthenticationService

Interface for a synchronous authentication service.

Namespace: Kephas.Security.Authentication
Assembly: Kephas.Core.dll
Syntax
public interface ISyncAuthenticationService

Methods

| Improve this Doc View Source

Authenticate(IAuthenticationContext)

Authenticates the user.

Declaration
IIdentity Authenticate(IAuthenticationContext authContext)
Parameters
Type Name Description
IAuthenticationContext authContext

Context for the authentication.

Returns
Type Description
System.Security.Principal.IIdentity

The identity.

| Improve this Doc View Source

GetIdentity(Object, IContext)

Gets the identity for the provided token.

Declaration
IIdentity GetIdentity(object token, IContext context = null)
Parameters
Type Name Description
System.Object token

The token.

IContext context

The requiring context (optional).

Returns
Type Description
System.Security.Principal.IIdentity

The identity.

| Improve this Doc View Source

GetToken(IIdentity, IContext)

Gets a token for the provided identity.

Declaration
object GetToken(IIdentity identity, IContext context = null)
Parameters
Type Name Description
System.Security.Principal.IIdentity identity

The identity.

IContext context

The requiring context (optional).

Returns
Type Description
System.Object

The token.

Extension Methods

DynamicObjectExtensions.SetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.GetPropertyValue(Object, String)
DynamicObjectExtensions.TryGetPropertyValue(Object, String, out Object)
DynamicObjectExtensions.GetRuntimeTypeInfo(Object)
DynamicObjectExtensions.ToDynamic(Object)
DynamicObjectExtensions.ToExpando(Object)
BehaviorValue.ToBehaviorValue<TValue>(TValue)
CollectionExtensions.AddRange<T, TItem>(T, IEnumerable<TItem>)
LoggingExtensions.GetLogger(Object, IContext)
TypeExtensions.GetAbstractType(Object)
TypeExtensions.GetAbstractTypeInfo(Object)
ReflectionHelper.GetTypeInfo(Object)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX