예제 #1
0
        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);
        }
예제 #2
0
        public string GetClientID(HttpContext context)
        {
            var client_id = context.Request.Headers["auth.client_id"] ?? string.Empty;

            if (!ValidateHelper.IsPlumpString(client_id))
            {
                client_id = WebClientConfig.ClientID();
            }
            return(client_id);
        }
예제 #3
0
        public string GetClientSecurity(HttpContext context)
        {
            var client_security = context.GetAuthClientSecurity();

            if (!ValidateHelper.IsPlumpString(client_security))
            {
                client_security = WebClientConfig.ClientSecurity();
            }
            return(client_security);
        }
예제 #4
0
        public string GetClientID(HttpContext context)
        {
            var client_id = context.GetAuthClientID();

            if (!ValidateHelper.IsPlumpString(client_id))
            {
                client_id = WebClientConfig.ClientID();
            }
            return(client_id);
        }
예제 #5
0
 public string GetClientSecurity(HttpContext context) => WebClientConfig.ClientSecurity();
예제 #6
0
 public string GetClientID(HttpContext context) => WebClientConfig.ClientID();