@hyperone/cli-core
Advanced tools
Comparing version 2.0.4 to 2.0.5
@@ -21,2 +21,4 @@ | ||
result.getConfiguration = async () => http.get(`${defaultAudience}/.well-known/openid-configuration`); | ||
const refreshToken = async () => { | ||
@@ -28,3 +30,3 @@ const refresh_token = await getRefreshToken(); | ||
} | ||
const openid_configuration = await http.get(`${defaultAudience}/.well-known/openid-configuration`); | ||
const openid_configuration = await result.getConfiguration(); | ||
const token = await http.post(openid_configuration.token_endpoint, { | ||
@@ -54,3 +56,3 @@ json: { | ||
const exchange = async (audience, token, options = {}) => { | ||
const openid_configuration = await http.get(`${defaultAudience}/.well-known/openid-configuration`); | ||
const openid_configuration = await result.getConfiguration(); | ||
return http.post(openid_configuration.token_endpoint, { | ||
@@ -110,3 +112,3 @@ json: { | ||
const token = await getAccessToken(); | ||
const openid_configuration = await http.get(`${defaultAudience}/.well-known/openid-configuration`); | ||
const openid_configuration = await result.getConfiguration(); | ||
return http.post(openid_configuration.introspection_endpoint, { | ||
@@ -113,0 +115,0 @@ json: { |
{ | ||
"name": "@hyperone/cli-core", | ||
"version": "2.0.4", | ||
"version": "2.0.5", | ||
"description": "", | ||
@@ -8,3 +8,3 @@ "main": "index.js", | ||
"@apidevtools/json-schema-ref-parser": "^9.0.3", | ||
"@hyperone/cli-framework": "^2.0.4", | ||
"@hyperone/cli-framework": "^2.0.5", | ||
"abort-controller": "^3.0.0", | ||
@@ -31,3 +31,3 @@ "camel-case": "^4.1.1", | ||
"license": "MIT", | ||
"gitHead": "6e7e9e3af14871e75cd1a6c44169924db05b3864" | ||
"gitHead": "2b8bd95a08b8382d7ecb6a894e126b34b6f10e6c" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
679
27254