Skip to content

Commit 5d67610

Browse files
committed
angular 6 + angular cli 6 workspace
1 parent 5b8cbbe commit 5d67610

File tree

239 files changed

+73008
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

239 files changed

+73008
-0
lines changed

.editorconfig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Editor configuration, see http://editorconfig.org
2+
root = true
3+
4+
[*]
5+
charset = utf-8
6+
indent_style = space
7+
indent_size = 2
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[*.md]
12+
max_line_length = off
13+
trim_trailing_whitespace = false

.gitignore

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# See http://help.github.com/ignore-files/ for more about ignoring files.
2+
3+
# compiled output
4+
/dist
5+
/tmp
6+
/out-tsc
7+
8+
# dependencies
9+
/node_modules
10+
11+
# IDEs and editors
12+
/.idea
13+
.project
14+
.classpath
15+
.c9/
16+
*.launch
17+
.settings/
18+
*.sublime-workspace
19+
20+
# IDE - VSCode
21+
.vscode/*
22+
!.vscode/settings.json
23+
!.vscode/tasks.json
24+
!.vscode/launch.json
25+
!.vscode/extensions.json
26+
27+
# misc
28+
/.sass-cache
29+
/connect.lock
30+
/coverage
31+
/libpeerconnection.log
32+
npm-debug.log
33+
yarn-error.log
34+
testem.log
35+
/typings
36+
37+
# System Files
38+
.DS_Store
39+
Thumbs.db

.vscode/settings.json

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"cSpell.enabledLanguageIds": [
3+
"asciidoc",
4+
"c",
5+
"cpp",
6+
"csharp",
7+
"css",
8+
"go",
9+
"handlebars",
10+
"html",
11+
"jade",
12+
"javascript",
13+
"javascriptreact",
14+
"json",
15+
"latex",
16+
"less",
17+
"php",
18+
"plaintext",
19+
"pub",
20+
"python",
21+
"restructuredtext",
22+
"rust",
23+
"scss",
24+
"text",
25+
"typescriptreact",
26+
"yml"
27+
],
28+
"spellright.language": "de",
29+
"spellright.documentTypes": [
30+
"latex",
31+
"plaintext"
32+
]
33+
}

.vscode/tasks.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
// See https://go.microsoft.com/fwlink/?LinkId=733558
3+
// for the documentation about the tasks.json format
4+
"version": "2.0.0",
5+
"tasks": [
6+
{
7+
"type": "npm",
8+
"script": "build:sample",
9+
"problemMatcher": [
10+
"$tsc"
11+
],
12+
"group": {
13+
"kind": "build",
14+
"isDefault": true
15+
}
16+
}
17+
]
18+
}

CHANGELOG.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Change Log
2+
3+
## New Features in Version 3.1
4+
5+
See [Release Notes](https://github.com/manfredsteyer/angular-oauth2-oidc/releases/tag/3.1)
6+
7+
## New Features in Version 3.0
8+
9+
See [Release Notes](https://github.com/manfredsteyer/angular-oauth2-oidc/releases/tag/3.0.1)
10+
11+
## New Features in Version 2.1
12+
- New Config API (the original one is still supported)
13+
- New convenience methods in OAuthService to streamline default tasks:
14+
- ``setupAutomaticSilentRefresh()``
15+
- ``loadDiscoveryDocumentAndTryLogin()``
16+
- Single Sign out through Session Status Change Notification according to the OpenID Connect Session Management specs. This means, you can be notified when the user logs out using at the login provider.
17+
- Possibility to define the ValidationHandler, the Config as well as the OAuthStorage via DI
18+
- Better structured documentation
19+
20+
## New Features in Version 2
21+
- Token Refresh for Implicit Flow by implementing "silent refresh"
22+
- Validating the signature of the received id_token
23+
- Providing Events via the observable ``events``.
24+
- The event ``token_expires`` can be used together with a silent refresh to automatically refresh a token when/ before it expires (see also property ``timeoutFactor``).
25+
26+
## Breaking Changes in Version 2
27+
- The property ``oidc`` defaults to ``true``.
28+
- If you are just using oauth2, you have to set ``oidc`` to ``false``. Otherwise, the validation of the user profile will fail!
29+
- By default, ``sessionStorage`` is used. To use ``localStorage`` call method setStorage
30+
- Demands using https as OIDC and OAuth2 relay on it. This rule can be relaxed using the property ``requireHttps``, e. g. for local testing.
31+
- Demands that every url provided by the discovery document starts with the issuer's url. This can be relaxed by using the property ``strictDiscoveryDocumentValidation``.

0 commit comments

Comments
 (0)