public string GetClientSecurity(HttpContext context) { var client_security = context.GetAuthClientSecurity(); if (!ValidateHelper.IsPlumpString(client_security)) { client_security = WebClientConfig.ClientSecurity(); } return(client_security); }
public string GetClientSecurity(HttpContext context) { var client_security = context.Request.Headers["auth.client_security"] ?? string.Empty; if (!ValidateHelper.IsPlumpString(client_security)) { client_security = WebClientConfig.ClientSecurity(); } return(client_security); }
public string GetClientSecurity(HttpContext context) => WebClientConfig.ClientSecurity();