Skip to content

Commit 23391d2

Browse files
author
KALLY\vytautas.pranskunas
committed
New version
1 parent 4a2cc16 commit 23391d2

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

angular-oauth2-oidc/README.MD

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ See [Release Notes](https://github.com/manfredsteyer/angular-oauth2-oidc/release
5252
- Providing Events via the observable ``events``.
5353
- 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``).
5454

55-
## Additional Features
55+
## Additional Features
5656
- Logging in via OAuth2 and OpenId Connect (OIDC) Implicit Flow (where user is redirected to Identity Provider)
5757
- "Logging in" via Password Flow (where user enters his/her password into the client)
5858
- Token Refresh for Password Flow by using a Refresh Token
@@ -76,7 +76,7 @@ You can use the OIDC-Sample-Server mentioned in the samples for Testing. It assu
7676

7777
Username/Password: max/geheim
7878

79-
*clientIds:*
79+
*clientIds:*
8080
- spa-demo (implicit flow)
8181
- demo-resource-owner (resource owner password flow)
8282

@@ -98,7 +98,7 @@ import { OAuthModule } from 'angular-oauth2-oidc';
9898
[...]
9999

100100
@NgModule({
101-
imports: [
101+
imports: [
102102
[...]
103103
HttpModule,
104104
OAuthModule.forRoot()
@@ -109,13 +109,13 @@ import { OAuthModule } from 'angular-oauth2-oidc';
109109
[...]
110110
],
111111
bootstrap: [
112-
AppComponent
112+
AppComponent
113113
]
114114
})
115115
export class AppModule {
116116
}
117117

118-
```
118+
```
119119

120120
## Configuring for Implicit Flow
121121

@@ -229,9 +229,9 @@ The following snippet contains the template for the login page:
229229

230230
### Skipping the Login Form
231231

232-
If you don't want to display a login form that tells the user that they are redirected to the identity server, you can use the convenince function ``this.oauthService.loadDiscoveryDocumentAndLogin();`` instead of ``this.oauthService.loadDiscoveryDocumentAndTryLogin();`` when setting up the library.
232+
If you don't want to display a login form that tells the user that they are redirected to the identity server, you can use the convenince function ``this.oauthService.loadDiscoveryDocumentAndLogin();`` instead of ``this.oauthService.loadDiscoveryDocumentAndTryLogin();`` when setting up the library.
233233

234-
This directly redirects the user to the identity server if there are no valid tokens.
234+
This directly redirects the user to the identity server if there are no valid tokens.
235235

236236

237237
### Calling a Web API with an Access Token

angular-oauth2-oidc/src/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-oauth2-oidc",
3-
"version": "3.1.3",
3+
"version": "4.0.0",
44
"repository": {
55
"type": "git",
66
"url": "https://github.com/manfredsteyer/angular-oauth2-oidc"

0 commit comments

Comments
 (0)