private static string GetAccessToken(string authorizationHeader)
        {
            var authorizationScheme = authorizationHeader.ExtractAuthorizationScheme();

            if (!SupportedAuthorizationScheme(authorizationScheme))
            {
                throw JwtIntrospectionException.UnsupportedAuthorizationSchemes(SupportedAuthorizationSchemes);
            }

            return(authorizationHeader.ExtractAuthorizationToken(authorizationScheme));
        }
        public JwtIntrospection GetJwtIntrospection()
        {
            var authorizationHeader = HttpContextAccessor.HttpContext?.GetRequestAuthorizationHeader();

            if (!AuthorizationExists(authorizationHeader))
            {
                throw JwtIntrospectionException.AuthorizationHeaderMissing();
            }

            string accessToken = GetAccessToken(authorizationHeader !);

            return(new JwtIntrospection(accessToken, OAuthSettings.ClientId));
        }