Skip to content

DurableHttpOptions.DefaultGetCallerScope(HttpContext)

DefaultGetCallerScope(HttpContext)

static
View source
public static string? DefaultGetCallerScope(HttpContext context)
Returns the authenticated user's System.Security.Claims.ClaimTypes.NameIdentifier claim, or its sub claim, or null for a request without either.

Parameters

contextHttpContext
The request.

Returns

The caller's scope, or null.