Esempio n. 1
0
        /// <summary>
        /// 从请求头里获取原始的票据
        /// </summary>
        /// <param name="request">http请求</param>
        /// <returns>原始的票据</returns>
        public static string GetBearerOriginTokenFromHeader(this HttpRequest request)
        {
            var containerBearerToken = request.GetContainerBearerOriginTokenFromHeader();

            return(containerBearerToken.GetBearerOriginalToken());
        }