Skip to content

Commit

Permalink
docs: regenerate documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jbottigliero committed Oct 28, 2024
1 parent dd4f18f commit b9aa6f5
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 7 deletions.
6 changes: 6 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@

A simple React context for managing Globus-related authentication state, built on top of the [@globus/sdk](https://github.com/globus/globus-sdk-javascript).

## Installation

```
npm install --save @globus/sdk @globus/react-auth-context
```

## Usage

The package includes a `<Provider>` that can be configured with a `client`, `scopes`, and `redirect` that will be used to configure an `AuthorizationManager` instance for the context. The `useGlobusAuth` hook can be used to access the authentication state and the `AuthorizationManager` instance.
Expand Down
2 changes: 1 addition & 1 deletion docs/functions/Provider.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@

## Defined in

[Provider.tsx:21](https://github.com/globus/react-auth-context/blob/f12539af272bb8ebd6d198a34aa9ee5c5ed146c2/src/Provider.tsx#L21)
[Provider.tsx:21](https://github.com/globus/react-auth-context/blob/dd4f18f00c59a4d730366bf281f83506ce9ff987/src/Provider.tsx#L21)
2 changes: 1 addition & 1 deletion docs/functions/reducer.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@

## Defined in

[reducer.ts:5](https://github.com/globus/react-auth-context/blob/f12539af272bb8ebd6d198a34aa9ee5c5ed146c2/src/reducer.ts#L5)
[reducer.ts:5](https://github.com/globus/react-auth-context/blob/dd4f18f00c59a4d730366bf281f83506ce9ff987/src/reducer.ts#L5)
2 changes: 1 addition & 1 deletion docs/functions/useGlobusAuth.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@

## Defined in

[useGlobusAuth.ts:4](https://github.com/globus/react-auth-context/blob/f12539af272bb8ebd6d198a34aa9ee5c5ed146c2/src/useGlobusAuth.ts#L4)
[useGlobusAuth.ts:4](https://github.com/globus/react-auth-context/blob/dd4f18f00c59a4d730366bf281f83506ce9ff987/src/useGlobusAuth.ts#L4)
2 changes: 1 addition & 1 deletion docs/type-aliases/GlobusAuthContextProps.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
## Defined in

[Context.ts:4](https://github.com/globus/react-auth-context/blob/f12539af272bb8ebd6d198a34aa9ee5c5ed146c2/src/Context.ts#L4)
[Context.ts:4](https://github.com/globus/react-auth-context/blob/dd4f18f00c59a4d730366bf281f83506ce9ff987/src/Context.ts#L4)
2 changes: 1 addition & 1 deletion docs/type-aliases/GlobusAuthState.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@
## Defined in

[State.ts:3](https://github.com/globus/react-auth-context/blob/f12539af272bb8ebd6d198a34aa9ee5c5ed146c2/src/State.ts#L3)
[State.ts:3](https://github.com/globus/react-auth-context/blob/dd4f18f00c59a4d730366bf281f83506ce9ff987/src/State.ts#L3)
2 changes: 1 addition & 1 deletion docs/type-aliases/Props.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
## Defined in

[Provider.tsx:14](https://github.com/globus/react-auth-context/blob/f12539af272bb8ebd6d198a34aa9ee5c5ed146c2/src/Provider.tsx#L14)
[Provider.tsx:14](https://github.com/globus/react-auth-context/blob/dd4f18f00c59a4d730366bf281f83506ce9ff987/src/Provider.tsx#L14)
2 changes: 1 addition & 1 deletion docs/variables/initialState.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
## Defined in

[State.ts:10](https://github.com/globus/react-auth-context/blob/f12539af272bb8ebd6d198a34aa9ee5c5ed146c2/src/State.ts#L10)
[State.ts:10](https://github.com/globus/react-auth-context/blob/dd4f18f00c59a4d730366bf281f83506ce9ff987/src/State.ts#L10)

0 comments on commit b9aa6f5

Please sign in to comment.