Skip to content
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.

Commit

Permalink
release[okta-angular][okta-react][okta-vue]: Publish new versions (#391)
Browse files Browse the repository at this point in the history
* release[okta-angular][okta-react][okta-vue]: Publish new versions

- Publish okta-angular v1.1.0
- Publish okta-react v1.2.0
- Publish okta-vue v1.1.0
  • Loading branch information
manueltanzi-okta authored Feb 19, 2019
1 parent 2ae1eff commit 61e9c02
Show file tree
Hide file tree
Showing 9 changed files with 50 additions and 3 deletions.
6 changes: 6 additions & 0 deletions packages/okta-angular/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# 1.1.0

### Features

- [`2ae1eff`](https://github.com/okta/okta-oidc-js/commit/2ae1effe948c35d112f58f12fbf3b4730e3a24e4) - Adds TokenManager configuration parameters.

# 1.0.7

### Other
Expand Down
10 changes: 10 additions & 0 deletions packages/okta-angular/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,16 @@ The `OktaAuthModule` is the initializer for your OpenID Connect client configura
- `scope` *(optional)*: Reserved for custom claims to be returned in the tokens
- `responseType` *(optional)*: Desired token grant types
- `onAuthRequired` *(optional)*: Accepts a callback to make a decision when authentication is required. If not supplied, `okta-angular` will redirect directly to Okta for authentication.
- `storage` *(optional)*:
Specify the type of storage for tokens.
The types are:
- [`localStorage`](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage)
- [`sessionStorage`](https://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage)
- [`cookie`](https://developer.mozilla.org/en-US/docs/Web/API/Document/cookie)

Defaults to `localStorage`. If [local storage](https://developer.mozilla.org/en-US/docs/Web/API/Web_Storage_API/Local_storage) is not available, falls back to `sessionStorage` or `cookie`.
- `autoRenew` *(optional)*:
By default, the library will attempt to renew expired tokens. When an expired token is requested by the library, a renewal request is executed to update the token. If you wish to to disable auto renewal of tokens, set autoRenew to false.

```typescript
// myApp.module.ts
Expand Down
2 changes: 1 addition & 1 deletion packages/okta-angular/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@okta/okta-angular",
"version": "1.0.7",
"version": "1.1.0",
"description": "Angular support for Okta",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand Down
6 changes: 6 additions & 0 deletions packages/okta-react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# 1.2.0

### Features

- [`2ae1eff`](https://github.com/okta/okta-oidc-js/commit/2ae1effe948c35d112f58f12fbf3b4730e3a24e4) - Adds TokenManager configuration parameters.

# 1.1.4

### Other
Expand Down
9 changes: 9 additions & 0 deletions packages/okta-react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,15 @@ Security is the top-most component of okta-react. This is where most of the conf
Accepts a callback to make a decision when authentication is required. If this is not supplied, `okta-react` redirects to Okta. This callback will receive `auth` and `history` parameters. This is triggered when:
1. `auth.login` is called
2. SecureRoute is accessed without authentication
- **storage** *(optional)*:
Specify the type of storage for tokens. The types are:
- [`localStorage`](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage)
- [`sessionStorage`](https://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage)
- [`cookie`](https://developer.mozilla.org/en-US/docs/Web/API/Document/cookie)

Defaults to `localStorage`. If [local storage](https://developer.mozilla.org/en-US/docs/Web/API/Web_Storage_API/Local_storage) is not available, falls back to `sessionStorage` or `cookie`.
- **auto_renew** *(optional)*:
By default, the library will attempt to renew expired tokens. When an expired token is requested by the library, a renewal request is executed to update the token. If you wish to to disable auto renewal of tokens, set `auto_renew` to `false`.

#### Example

Expand Down
2 changes: 1 addition & 1 deletion packages/okta-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@okta/okta-react",
"version": "1.1.4",
"version": "1.2.0",
"description": "React support for Okta",
"main": "./dist/index.js",
"scripts": {
Expand Down
6 changes: 6 additions & 0 deletions packages/okta-vue/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# 1.1.0

### Features

- [`2ae1eff`](https://github.com/okta/okta-oidc-js/commit/2ae1effe948c35d112f58f12fbf3b4730e3a24e4) - Adds TokenManager configuration parameters.

# 1.0.7

### Other
Expand Down
10 changes: 10 additions & 0 deletions packages/okta-vue/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,16 @@ router.beforeEach((to, from, next) {
- `redirect_uri` **(required)**: Where the callback is hosted
- `scope` *(optional)*: Reserved or custom claims to be returned in the tokens
- `response_type` *(optional)*: Desired token grant types
- `storage` *(optional)*:
Specify the type of storage for tokens.
The types are:
- [`localStorage`](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage)
- [`sessionStorage`](https://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage)
- [`cookie`](https://developer.mozilla.org/en-US/docs/Web/API/Document/cookie)

Defaults to `localStorage`. If [local storage](https://developer.mozilla.org/en-US/docs/Web/API/Web_Storage_API/Local_storage) is not available, falls back to `sessionStorage` or `cookie`.
- `auto_renew` *(optional)*:
By default, the library will attempt to renew expired tokens. When an expired token is requested by the library, a renewal request is executed to update the token. If you wish to to disable auto renewal of tokens, set `auto_renew` to `false`.

#### `$auth.loginRedirect(fromUri, additionalParams)`

Expand Down
2 changes: 1 addition & 1 deletion packages/okta-vue/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@okta/okta-vue",
"version": "1.0.7",
"version": "1.1.0",
"description": "Vue support for Okta",
"main": "dist/okta-vue.js",
"files": [
Expand Down

0 comments on commit 61e9c02

Please sign in to comment.