@ksvedal/docs 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +74 -0
- package/dist/Starthjelp-CDnMsPRF.js +6 -0
- package/dist/Starthjelp-DTDqsiPb.js +6 -0
- package/dist/_baseUniq-FW_jgYGR.js +477 -0
- package/dist/access_policy-BV-cRgLX.js +17 -0
- package/dist/access_policy-pBOJMSEK.js +17 -0
- package/dist/access_token_lifetime-6ypKk6LU.js +31 -0
- package/dist/access_token_lifetime-CVau9UC3.js +31 -0
- package/dist/allowed_grant_types-BrnsQvWi.js +101 -0
- package/dist/allowed_grant_types-ovkxJeQq.js +101 -0
- package/dist/application_type-BAESO1T4.js +36 -0
- package/dist/application_type-BtouPPrt.js +39 -0
- package/dist/arc-zSbgd3Dl.js +83 -0
- package/dist/architecture-U656AL7Q-bG73RCfJ.js +5 -0
- package/dist/architectureDiagram-VXUJARFQ-DbJ1yKpS.js +4668 -0
- package/dist/authentication_method-B28p58-a.js +43 -0
- package/dist/authentication_method-D8EwmEki.js +43 -0
- package/dist/authorization_lifetime-CfhrWQ9Y.js +39 -0
- package/dist/authorization_lifetime-DrFRbscQ.js +39 -0
- package/dist/backchannel_logout_uri-BTceN7xq.js +33 -0
- package/dist/backchannel_logout_uri-CBdktUL7.js +33 -0
- package/dist/blockDiagram-VD42YOAC-CmPMJI6H.js +2265 -0
- package/dist/breadcrumbs.json +1202 -0
- package/dist/c4Diagram-YG6GDRKO-BtTnslb7.js +1581 -0
- package/dist/channel-B9C38GUl.js +5 -0
- package/dist/chunk-4BX2VUAB-BLcImAIn.js +9 -0
- package/dist/chunk-55IACEB6-Cd_NYMQ6.js +8 -0
- package/dist/chunk-B4BG7PRW-C5mt8tWU.js +1376 -0
- package/dist/chunk-DI55MBZ5-BliqH_si.js +1382 -0
- package/dist/chunk-FMBD7UC4-D8OxNP20.js +19 -0
- package/dist/chunk-QN33PNHL-DBPrGAkF.js +20 -0
- package/dist/chunk-QZHKN3VN-Ce2k3n1F.js +15 -0
- package/dist/chunk-TZMSLE5B-BB3w_n2J.js +64 -0
- package/dist/classDiagram-2ON5EDUG-BJg1PJs9.js +16 -0
- package/dist/classDiagram-v2-WZHVMYZB-BJg1PJs9.js +16 -0
- package/dist/client_types-BmacnRwO.js +17 -0
- package/dist/client_types-Cu_f02j7.js +17 -0
- package/dist/clone-DZF-mLM1.js +8 -0
- package/dist/components/Docs.d.ts +5 -0
- package/dist/components/DocsBreadcrumbs.d.ts +10 -0
- package/dist/components/DocsErrorBoundary.d.ts +21 -0
- package/dist/components/DocsPage.d.ts +10 -0
- package/dist/components/DocsSearch.d.ts +12 -0
- package/dist/components/DocsViewer.d.ts +11 -0
- package/dist/components/index.d.ts +6 -0
- package/dist/components/useDocsStyles.d.ts +1 -0
- package/dist/cose-bilkent-S5V4N54A-xEniAY-c.js +2608 -0
- package/dist/cytoscape.esm-CjI2IsL8.js +18735 -0
- package/dist/dagre-6UL2VRFP-DWEj74f8.js +446 -0
- package/dist/defaultLocale-BgPVtth8.js +171 -0
- package/dist/delegation_source-B8L65LAZ.js +17 -0
- package/dist/delegation_source-DBE0sh58.js +17 -0
- package/dist/diagram-PSM6KHXK-Z3KtWXiy.js +533 -0
- package/dist/diagram-QEK2KX5R-BVA9QmB8.js +221 -0
- package/dist/diagram-S2PKOQOG-BOmc_fL6.js +143 -0
- package/dist/docs/folder.d.ts +12 -0
- package/dist/docs/types.d.ts +12 -0
- package/dist/entraid-CPkATiHs.js +6 -0
- package/dist/entraid-CSwp8dMQ.js +6 -0
- package/dist/erDiagram-Q2GNP2WA-Blro_6F2.js +842 -0
- package/dist/faq-CqjYqwL1.js +8 -0
- package/dist/faq-TqD11_1a.js +8 -0
- package/dist/flowDiagram-NV44I4VS-BN9iLCEi.js +1627 -0
- package/dist/frontchannel_logout_uri-Bt6bvoBs.js +36 -0
- package/dist/frontchannel_logout_uri-DRGyFXRl.js +36 -0
- package/dist/ganttDiagram-JELNMOA3-CXLPJQlh.js +2670 -0
- package/dist/general--WqS-xp8.js +89 -0
- package/dist/general-B37q4SsA.js +63 -0
- package/dist/general-BCOYLf6V.js +152 -0
- package/dist/general-CQFRRoeE.js +63 -0
- package/dist/general-Dk7lWiBC.js +152 -0
- package/dist/general-QQfgnjEE.js +89 -0
- package/dist/gitGraph-F6HP7TQM-ChFlbGFG.js +5 -0
- package/dist/gitGraphDiagram-NY62KEGX-DXSPVlhd.js +712 -0
- package/dist/graph-dALvSPTP.js +381 -0
- package/dist/index-D_FT2Td-.js +25338 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +9 -0
- package/dist/info-NVLQJR56-BSQ5ueiP.js +5 -0
- package/dist/infoDiagram-WHAUD3N6-D0hbJwWb.js +24 -0
- package/dist/init-DjUOC4st.js +16 -0
- package/dist/integration_guide-BXkM8zJ-.js +7 -0
- package/dist/integration_guide-CLABphnS.js +313 -0
- package/dist/integration_guide-Ci8Nz8oL.js +313 -0
- package/dist/integration_guide-Ct8RYoMV.js +6 -0
- package/dist/integration_guide-DWfjt6Qk.js +6 -0
- package/dist/integration_guide-DrKTpPnR.js +6 -0
- package/dist/journeyDiagram-XKPGCS4Q-DTU9EVLJ.js +834 -0
- package/dist/kanban-definition-3W4ZIXB7-CcKx9EnU.js +721 -0
- package/dist/katex-C6SjTJMZ.js +11690 -0
- package/dist/layout-DUskCdLZ.js +1441 -0
- package/dist/linear-RKbqvfvG.js +259 -0
- package/dist/mermaid-parser.core-C-16ojim.js +15189 -0
- package/dist/min-CsCJm_uR.js +38 -0
- package/dist/mindmap-definition-VGOIOE7T-LpgPu_oq.js +787 -0
- package/dist/on_behalf_of-EcHpNqmZ.js +36 -0
- package/dist/on_behalf_of-qrlvHfcG.js +36 -0
- package/dist/ordinal-DfAQgscy.js +61 -0
- package/dist/overview-Bw11cTNo.js +21 -0
- package/dist/overview-ZreyAEkN.js +21 -0
- package/dist/packet-BFZMPI3H-CwJrUCZn.js +5 -0
- package/dist/pie-7BOR55EZ-WUF72bRP.js +5 -0
- package/dist/pieDiagram-ADFJNKIX-BRjx2vS_.js +161 -0
- package/dist/pkce-BkSKWYmh.js +34 -0
- package/dist/pkce-C3U_jCxQ.js +33 -0
- package/dist/post_logout_redirect_uri-BSzuTRwg.js +33 -0
- package/dist/post_logout_redirect_uri-BnhzB1De.js +33 -0
- package/dist/pseudonymous_login-B3oa6s2f.js +17 -0
- package/dist/pseudonymous_login-x98obOlL.js +17 -0
- package/dist/quadrantDiagram-AYHSOK5B-BOwjGYKH.js +1024 -0
- package/dist/radar-NHE76QYJ-DRN4buPP.js +5 -0
- package/dist/redirect_uri-Cnlv_2rt.js +38 -0
- package/dist/redirect_uri-DgNidm8d.js +38 -0
- package/dist/refresh_token_lifetime-DCzCzIyu.js +34 -0
- package/dist/refresh_token_lifetime-QcGf0aOG.js +34 -0
- package/dist/refresh_token_usage-C2LdxQHa.js +33 -0
- package/dist/refresh_token_usage-DXI98e4O.js +33 -0
- package/dist/requirementDiagram-UZGBJVZJ-KRDecAgT.js +852 -0
- package/dist/sankeyDiagram-TZEHDZUN-MKxbwv35.js +810 -0
- package/dist/search-index.json +450 -0
- package/dist/sequenceDiagram-WL72ISMW-DEo0cUN3.js +2518 -0
- package/dist/sso-BuAlvelZ.js +79 -0
- package/dist/sso-DYMIpoUd.js +78 -0
- package/dist/stateDiagram-FKZM4ZOC-CaTGomRc.js +263 -0
- package/dist/stateDiagram-v2-4FDKWEC3-l4p7_3uG.js +16 -0
- package/dist/timeline-definition-IT6M3QCI-ChX0PfWC.js +799 -0
- package/dist/token_lifetimes-Cp22x6RM.js +17 -0
- package/dist/token_lifetimes-CwzcMEnb.js +17 -0
- package/dist/token_type-B8DCg80j.js +17 -0
- package/dist/token_type-C7Y04-Fc.js +17 -0
- package/dist/treemap-KMMF4GRG-DNEhU-LQ.js +5 -0
- package/dist/user_involvement-4nbn_fQ7.js +17 -0
- package/dist/user_involvement-COT572uK.js +17 -0
- package/dist/visibility-BSqCGXMv.js +17 -0
- package/dist/visibility-CidZ07d9.js +17 -0
- package/dist/xychartDiagram-PRI3JC2R-CBQAJ13t.js +1340 -0
- package/package.json +60 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
const e = `# Redirect URI-er
|
|
2
|
+
|
|
3
|
+
## Formål
|
|
4
|
+
|
|
5
|
+
Redirect URI-er er adresser autorisasjonsserveren har lov til å sende brukeren tilbake til etter en autorisasjons- eller autentiseringsprosess.
|
|
6
|
+
|
|
7
|
+
Dette er en grunnleggende sikkerhetsmekanisme i OAuth 2.0 og OpenID Connect.
|
|
8
|
+
|
|
9
|
+
## Teknisk virkemåte
|
|
10
|
+
|
|
11
|
+
I en typisk \`authorization_code\`-flyt skjer dette slik:
|
|
12
|
+
|
|
13
|
+
1. Klienten sender en autorisasjonsforespørsel med ønsket redirect URI.
|
|
14
|
+
2. Autorisasjonsserveren kontrollerer at URI-en er registrert for klienten.
|
|
15
|
+
3. Etter vellykket autentisering returneres brukeren til denne adressen.
|
|
16
|
+
4. Responsen inneholder typisk en autorisasjonskode.
|
|
17
|
+
|
|
18
|
+
### Hvorfor eksakt registrering er viktig
|
|
19
|
+
|
|
20
|
+
Redirect URI-er må normalt samsvare nøyaktig med det klienten bruker i forespørselen. Dette reduserer risikoen for at autorisasjonskode eller andre parametere sendes til feil mottaker.
|
|
21
|
+
|
|
22
|
+
## Bruk i OIDC-klienter
|
|
23
|
+
|
|
24
|
+
### ID-porten
|
|
25
|
+
|
|
26
|
+
Redirect URI-er er en sentral del av innlogging via ID-porten, siden autorisasjonskoden returneres til klientens registrerte adresse.
|
|
27
|
+
|
|
28
|
+
### Ansattporten
|
|
29
|
+
|
|
30
|
+
Det samme gjelder for Ansattporten, der korrekt registrering er nødvendig for at autorisasjonsflyten skal fungere og være sikker.
|
|
31
|
+
|
|
32
|
+
### Maskinporten
|
|
33
|
+
|
|
34
|
+
Redirect URI-er er normalt ikke relevante i klassiske Maskinporten-flyter, siden disse ikke er basert på nettleserredirect og interaktiv brukerinnlogging.
|
|
35
|
+
`;
|
|
36
|
+
export {
|
|
37
|
+
e as default
|
|
38
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
const e = `# Redirect URIs
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
Redirect URIs are addresses the authorization server is allowed to send the user back to after an authorization or authentication process.
|
|
6
|
+
|
|
7
|
+
This is a fundamental security mechanism in OAuth 2.0 and OpenID Connect.
|
|
8
|
+
|
|
9
|
+
## Technical behavior
|
|
10
|
+
|
|
11
|
+
In a typical \`authorization_code\` flow, this works as follows:
|
|
12
|
+
|
|
13
|
+
1. The client sends an authorization request with the desired redirect URI.
|
|
14
|
+
2. The authorization server verifies that the URI is registered for the client.
|
|
15
|
+
3. After successful authentication, the user is returned to this address.
|
|
16
|
+
4. The response typically contains an authorization code.
|
|
17
|
+
|
|
18
|
+
### Why exact registration matters
|
|
19
|
+
|
|
20
|
+
Redirect URIs normally have to match exactly what the client uses in the request. This reduces the risk of the authorization code or other parameters being sent to the wrong recipient.
|
|
21
|
+
|
|
22
|
+
## Use in OIDC clients
|
|
23
|
+
|
|
24
|
+
### ID-porten
|
|
25
|
+
|
|
26
|
+
Redirect URIs are a central part of login through ID-porten, since the authorization code is returned to the client's registered address.
|
|
27
|
+
|
|
28
|
+
### Ansattporten
|
|
29
|
+
|
|
30
|
+
The same applies to Ansattporten, where correct registration is necessary for the authorization flow to work and remain secure.
|
|
31
|
+
|
|
32
|
+
### Maskinporten
|
|
33
|
+
|
|
34
|
+
Redirect URIs are normally not relevant in classic Maskinporten flows, since those are not based on browser redirects and interactive user login.
|
|
35
|
+
`;
|
|
36
|
+
export {
|
|
37
|
+
e as default
|
|
38
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
const e = `# Refresh token levetid
|
|
2
|
+
|
|
3
|
+
## Formål
|
|
4
|
+
|
|
5
|
+
Refresh token levetid angir hvor lenge et refresh token kan brukes til å hente nye access tokens.
|
|
6
|
+
|
|
7
|
+
Dette setter en øvre grense for hvor lenge en klient kan videreføre tilgang uten ny autentisering.
|
|
8
|
+
|
|
9
|
+
## Teknisk virkemåte
|
|
10
|
+
|
|
11
|
+
Så lenge refresh tokenet er gyldig og ikke er tilbakekalt eller ugyldiggjort, kan klienten bruke det til å få utstedt nye access tokens.
|
|
12
|
+
|
|
13
|
+
### Sikkerhetsvurdering
|
|
14
|
+
|
|
15
|
+
Jo lenger levetid et refresh token har, desto mer verdi har det dersom det kommer på avveie. Lang levetid bør derfor kombineres med tiltak som:
|
|
16
|
+
|
|
17
|
+
- sikker lagring
|
|
18
|
+
- rotasjon
|
|
19
|
+
- tilbakekalling
|
|
20
|
+
- overvåking av mistenkelig bruk
|
|
21
|
+
|
|
22
|
+
## Bruk i OIDC-klienter
|
|
23
|
+
|
|
24
|
+
### ID-porten og Ansattporten
|
|
25
|
+
|
|
26
|
+
Dette er relevant for klienter som ønsker langvarige brukerøkter, men må balanseres mot krav til sikkerhet og hvor følsomme data klienten gir tilgang til.
|
|
27
|
+
|
|
28
|
+
### Maskinporten
|
|
29
|
+
|
|
30
|
+
Refresh token levetid er normalt ikke en sentral parameter i klassiske Maskinporten-scenarier.
|
|
31
|
+
`;
|
|
32
|
+
export {
|
|
33
|
+
e as default
|
|
34
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
const e = `# Refresh token lifetime
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
Refresh token lifetime specifies how long a refresh token can be used to obtain new access tokens.
|
|
6
|
+
|
|
7
|
+
This sets an upper limit on how long a client can continue access without new authentication.
|
|
8
|
+
|
|
9
|
+
## Technical behavior
|
|
10
|
+
|
|
11
|
+
As long as the refresh token is valid and has not been revoked or invalidated, the client can use it to obtain newly issued access tokens.
|
|
12
|
+
|
|
13
|
+
### Security considerations
|
|
14
|
+
|
|
15
|
+
The longer lifetime a refresh token has, the more valuable it becomes if it is exposed. A long lifetime should therefore be combined with measures such as:
|
|
16
|
+
|
|
17
|
+
- secure storage
|
|
18
|
+
- rotation
|
|
19
|
+
- revocation
|
|
20
|
+
- monitoring of suspicious use
|
|
21
|
+
|
|
22
|
+
## Use in OIDC clients
|
|
23
|
+
|
|
24
|
+
### ID-porten and Ansattporten
|
|
25
|
+
|
|
26
|
+
This is relevant for clients that want long-lived user sessions, but it must be balanced against security requirements and how sensitive the data is that the client provides access to.
|
|
27
|
+
|
|
28
|
+
### Maskinporten
|
|
29
|
+
|
|
30
|
+
Refresh token lifetime is normally not a central parameter in classic Maskinporten scenarios.
|
|
31
|
+
`;
|
|
32
|
+
export {
|
|
33
|
+
e as default
|
|
34
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
const e = `# Refresh token bruk
|
|
2
|
+
|
|
3
|
+
## Formål
|
|
4
|
+
|
|
5
|
+
Refresh token bruk beskriver hvordan refresh tokens håndteres i praksis, utover bare om de er tillatt eller ikke.
|
|
6
|
+
|
|
7
|
+
Dette kan omfatte regler for utstedelse, gjenbruk, rotasjon og ugyldiggjøring.
|
|
8
|
+
|
|
9
|
+
## Teknisk virkemåte
|
|
10
|
+
|
|
11
|
+
I en enkel modell kan samme refresh token brukes flere ganger så lenge det er gyldig. I en strengere modell kan hvert bruk føre til at:
|
|
12
|
+
|
|
13
|
+
- et nytt refresh token utstedes
|
|
14
|
+
- det gamle ugyldiggjøres
|
|
15
|
+
- misbruk lettere kan oppdages
|
|
16
|
+
|
|
17
|
+
### Sikkerhetsbetydning
|
|
18
|
+
|
|
19
|
+
Valg av modell påvirker hvor robust løsningen er mot tokenlekkasje og replay. Jo mer langlivet og gjenbrukbart et refresh token er, desto viktigere er det med sterk beskyttelse.
|
|
20
|
+
|
|
21
|
+
## Bruk i OIDC-klienter
|
|
22
|
+
|
|
23
|
+
### ID-porten og Ansattporten
|
|
24
|
+
|
|
25
|
+
For klienter som trenger vedvarende brukerøkter, bør refresh token bruk vurderes sammen med tokenlagring, levetider og eventuelle krav til rotasjon.
|
|
26
|
+
|
|
27
|
+
### Maskinporten
|
|
28
|
+
|
|
29
|
+
Dette er normalt ikke et sentralt tema i Maskinporten-integrasjoner, siden mønsteret der som regel ikke er bygget rundt refresh token-baserte brukerøkter.
|
|
30
|
+
`;
|
|
31
|
+
export {
|
|
32
|
+
e as default
|
|
33
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
const e = `# Refresh token usage
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
Refresh token usage describes how refresh tokens are handled in practice, beyond simply whether they are allowed or not.
|
|
6
|
+
|
|
7
|
+
This can include rules for issuance, reuse, rotation, and invalidation.
|
|
8
|
+
|
|
9
|
+
## Technical behavior
|
|
10
|
+
|
|
11
|
+
In a simple model, the same refresh token can be used multiple times as long as it is valid. In a stricter model, each use can result in:
|
|
12
|
+
|
|
13
|
+
- a new refresh token being issued
|
|
14
|
+
- the old one being invalidated
|
|
15
|
+
- misuse being easier to detect
|
|
16
|
+
|
|
17
|
+
### Security significance
|
|
18
|
+
|
|
19
|
+
The chosen model affects how robust the solution is against token leakage and replay. The more long-lived and reusable a refresh token is, the more important strong protection becomes.
|
|
20
|
+
|
|
21
|
+
## Use in OIDC clients
|
|
22
|
+
|
|
23
|
+
### ID-porten and Ansattporten
|
|
24
|
+
|
|
25
|
+
For clients that need persistent user sessions, refresh token usage should be considered together with token storage, token lifetimes, and any requirements for rotation.
|
|
26
|
+
|
|
27
|
+
### Maskinporten
|
|
28
|
+
|
|
29
|
+
This is normally not a central topic in Maskinporten integrations, since the pattern there is usually not built around refresh-token-based user sessions.
|
|
30
|
+
`;
|
|
31
|
+
export {
|
|
32
|
+
e as default
|
|
33
|
+
};
|