Table of Contents

Interface IPrincipalSearch

Namespace
Shift.Common
Assembly
Shift.Common.dll
public interface IPrincipalSearch
Extension Methods

Methods

GetPrincipal(JwtRequest, string, bool, int?, List<string>)

IShiftPrincipal GetPrincipal(JwtRequest request, string ipAddress, bool isWhitelisted, int? lifetime, List<string> errors)

Parameters

request JwtRequest
ipAddress string
isWhitelisted bool
lifetime int?
errors List<string>

Returns

IShiftPrincipal

GetPrincipal(string)

IShiftPrincipal GetPrincipal(string secret)

Parameters

secret string

Returns

IShiftPrincipal

GetSecret(IEnumerable<Claim>)

string GetSecret(IEnumerable<Claim> claims)

Parameters

claims IEnumerable<Claim>

Returns

string