From 46ef9918b78c874133fa8454a6f4ec7942a03a49 Mon Sep 17 00:00:00 2001 From: Andreas Weber Date: Mon, 8 Mar 2021 20:50:04 +0100 Subject: [PATCH] feat: added prefix to description #1 --- src/variables/replacer/oauth/authorizationCodeFlow.ts | 2 +- src/variables/replacer/oauth/clientCredentialsFlow.ts | 2 +- src/variables/replacer/oauth/implicitFlow.ts | 2 +- src/variables/replacer/oauth/passwordFlow.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/variables/replacer/oauth/authorizationCodeFlow.ts b/src/variables/replacer/oauth/authorizationCodeFlow.ts index 6482adb0..393fc3a1 100644 --- a/src/variables/replacer/oauth/authorizationCodeFlow.ts +++ b/src/variables/replacer/oauth/authorizationCodeFlow.ts @@ -66,7 +66,7 @@ class AuthorizationCodeFlow implements OpenIdFlow { config: config, id: context.cacheKey, title: `authorization_code: ${config.clientId}`, - description: config.tokenEndpoint + description: `${config.variablePrefix} - ${config.tokenEndpoint}` }); resolve(openIdInformation); return { diff --git a/src/variables/replacer/oauth/clientCredentialsFlow.ts b/src/variables/replacer/oauth/clientCredentialsFlow.ts index cf1e30fa..1849dd61 100644 --- a/src/variables/replacer/oauth/clientCredentialsFlow.ts +++ b/src/variables/replacer/oauth/clientCredentialsFlow.ts @@ -34,7 +34,7 @@ class ClientCredentialsFlow implements OpenIdFlow { config: config, id: context.cacheKey, title: `clientCredentials: ${config.clientId}`, - description: config.tokenEndpoint + description: `${config.variablePrefix} - ${config.tokenEndpoint}` }); } } diff --git a/src/variables/replacer/oauth/implicitFlow.ts b/src/variables/replacer/oauth/implicitFlow.ts index 31a8c099..93758dfb 100644 --- a/src/variables/replacer/oauth/implicitFlow.ts +++ b/src/variables/replacer/oauth/implicitFlow.ts @@ -67,7 +67,7 @@ class ImplicitFlow implements OpenIdFlow { config: config, id: context.cacheKey, title: `implicit: ${config.clientId}`, - description: config.tokenEndpoint + description: `${config.variablePrefix} - ${config.tokenEndpoint}` }); resolve(openIdInformation); return { diff --git a/src/variables/replacer/oauth/passwordFlow.ts b/src/variables/replacer/oauth/passwordFlow.ts index cb773d12..2352c062 100644 --- a/src/variables/replacer/oauth/passwordFlow.ts +++ b/src/variables/replacer/oauth/passwordFlow.ts @@ -35,7 +35,7 @@ class PasswordFlow implements OpenIdFlow { config: config, id: context.cacheKey, title: `PasswordFlow: ${config.username} (${config.clientId})`, - description: config.tokenEndpoint + description: `${config.variablePrefix} - ${config.tokenEndpoint}` }); } }