web: Update Web API Client version (#2840)

* web: Update Web API Client version

Signed-off-by: GitHub <noreply@github.com>

* fix

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

Co-authored-by: BeryJu <BeryJu@users.noreply.github.com>
Co-authored-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
github-actions[bot] 2022-05-10 10:37:50 +02:00 committed by GitHub
parent 3554406aa5
commit 30c65f9e61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 18 deletions

14
web/package-lock.json generated
View File

@ -16,7 +16,7 @@
"@babel/preset-typescript": "^7.16.7",
"@formatjs/intl-listformat": "^6.5.3",
"@fortawesome/fontawesome-free": "^6.1.1",
"@goauthentik/api": "^2022.4.1-1652019098",
"@goauthentik/api": "^2022.4.1-1652171189",
"@jackfranklin/rollup-plugin-markdown": "^0.3.0",
"@lingui/cli": "^3.13.3",
"@lingui/core": "^3.13.3",
@ -1755,9 +1755,9 @@
}
},
"node_modules/@goauthentik/api": {
"version": "2022.4.1-1652019098",
"resolved": "https://registry.npmjs.org/@goauthentik/api/-/api-2022.4.1-1652019098.tgz",
"integrity": "sha512-slYTS4+yMM0JaaS5g2iiEz3m+VBwEywItLxaG5zrq3iGNTWHxkA2n9KizEZT9VGYvRGK9mJj07xuohg6KwEH8A=="
"version": "2022.4.1-1652171189",
"resolved": "https://registry.npmjs.org/@goauthentik/api/-/api-2022.4.1-1652171189.tgz",
"integrity": "sha512-dljXYphvj/lSA1e9qPZ289b6CKVP7irCr56BrBnd4aF+VSQQnaamC0e3fkCAa3XNmjHa4Lb+Ia/ILNgLVoJq8g=="
},
"node_modules/@humanwhocodes/config-array": {
"version": "0.9.2",
@ -10089,9 +10089,9 @@
"integrity": "sha512-J/3yg2AIXc9wznaVqpHVX3Wa5jwKovVF0AMYSnbmcXTiL3PpRPfF58pzWucCwEiCJBp+hCNRLWClTomD8SseKg=="
},
"@goauthentik/api": {
"version": "2022.4.1-1652019098",
"resolved": "https://registry.npmjs.org/@goauthentik/api/-/api-2022.4.1-1652019098.tgz",
"integrity": "sha512-slYTS4+yMM0JaaS5g2iiEz3m+VBwEywItLxaG5zrq3iGNTWHxkA2n9KizEZT9VGYvRGK9mJj07xuohg6KwEH8A=="
"version": "2022.4.1-1652171189",
"resolved": "https://registry.npmjs.org/@goauthentik/api/-/api-2022.4.1-1652171189.tgz",
"integrity": "sha512-dljXYphvj/lSA1e9qPZ289b6CKVP7irCr56BrBnd4aF+VSQQnaamC0e3fkCAa3XNmjHa4Lb+Ia/ILNgLVoJq8g=="
},
"@humanwhocodes/config-array": {
"version": "0.9.2",

View File

@ -59,7 +59,7 @@
"@babel/preset-typescript": "^7.16.7",
"@formatjs/intl-listformat": "^6.5.3",
"@fortawesome/fontawesome-free": "^6.1.1",
"@goauthentik/api": "^2022.4.1-1652019098",
"@goauthentik/api": "^2022.4.1-1652171189",
"@jackfranklin/rollup-plugin-markdown": "^0.3.0",
"@lingui/cli": "^3.13.3",
"@lingui/core": "^3.13.3",

View File

@ -6,14 +6,13 @@ import { ifDefined } from "lit/directives/if-defined.js";
import { until } from "lit/directives/until.js";
import {
BindModeEnum,
CoreApi,
CryptoApi,
FlowsApi,
FlowsInstancesListDesignationEnum,
LDAPAPIAccessMode,
LDAPProvider,
ProvidersApi,
SearchModeEnum,
} from "@goauthentik/api";
import { DEFAULT_CONFIG, tenant } from "../../../api/Config";
@ -123,14 +122,14 @@ export class LDAPProviderFormPage extends ModelForm<LDAPProvider, number> {
<ak-form-element-horizontal label=${t`Bind mode`} name="bindMode">
<select class="pf-c-form-control">
<option
value="${BindModeEnum.Cached}"
?selected=${this.instance?.bindMode === BindModeEnum.Cached}
value="${LDAPAPIAccessMode.Cached}"
?selected=${this.instance?.bindMode === LDAPAPIAccessMode.Cached}
>
${t`Cached binding, flow is executed and session is cached in memory. Flow is executed when session expires.`}
</option>
<option
value="${BindModeEnum.Direct}"
?selected=${this.instance?.searchMode === BindModeEnum.Direct}
value="${LDAPAPIAccessMode.Direct}"
?selected=${this.instance?.searchMode === LDAPAPIAccessMode.Direct}
>
${t`Direct querying, always execute the configured bind flow to authenticate the user.`}
</option>
@ -142,14 +141,14 @@ export class LDAPProviderFormPage extends ModelForm<LDAPProvider, number> {
<ak-form-element-horizontal label=${t`Search mode`} name="searchMode">
<select class="pf-c-form-control">
<option
value="${SearchModeEnum.Cached}"
?selected=${this.instance?.searchMode === SearchModeEnum.Cached}
value="${LDAPAPIAccessMode.Cached}"
?selected=${this.instance?.searchMode === LDAPAPIAccessMode.Cached}
>
${t`Cached querying, the outpost holds all users and groups in-memory and will refresh every 5 Minutes.`}
</option>
<option
value="${SearchModeEnum.Direct}"
?selected=${this.instance?.searchMode === SearchModeEnum.Direct}
value="${LDAPAPIAccessMode.Direct}"
?selected=${this.instance?.searchMode === LDAPAPIAccessMode.Direct}
>
${t`Direct querying, always returns the latest data, but slower than cached querying.`}
</option>