IOT Dash
Static Public Member Functions | List of all members
IotDash.Utils.Context.ContextExtensions Class Reference

Static Public Member Functions

static ? string GetUserId (this HttpContext httpContext)
 
static ? string GetUserId (this ClaimsPrincipal user)
 
static ? DateTime GetExpiryDate (this ClaimsPrincipal claims)
 
static ? string GetClaim (this ClaimsPrincipal claims, string type)
 
static HttpContext GetHttpContext (this AuthorizationHandlerContext context)
 
static ? T GetFromRoute< T > (this HttpContext context, string key)
 
static T GetRequired< T > (this IFeatureCollection features)
 

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