# @types/oauth2-implicit

> TypeScript definitions for oauth2-implicit

Latest version **0.7.4** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/oauth2-implicit
pnpm add @types/oauth2-implicit
yarn add @types/oauth2-implicit
bun add @types/oauth2-implicit
```

## Health

**Score 40/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; popular repo; extremely popular.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.7.4 |
| Published | 2023-11-07 |
| First published | 2019-10-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51420 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/oauth2-implicit
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/oauth2-implicit
- npm.io page: https://npm.io/package/@types/oauth2-implicit

## Recent versions

- 0.7.4 (latest) — 2023-11-07
- 0.7.2 (ts4.1) — 2022-10-03
- 0.7.1 (ts3.6) — 2021-07-08
- 0.7.0 (ts2.0) — 2019-10-02
- 0.7.3 — 2023-10-18

## README

# Installation
> `npm install --save @types/oauth2-implicit`

# Summary
This package contains type definitions for oauth2-implicit (https://github.com/jasonkuhrt/oauth2-implicit).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/oauth2-implicit.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/oauth2-implicit/index.d.ts)
````ts
export interface AuthState {
    [key: string]: any;
    originalUrl: string;
}

export interface AuthParams {
    auth_uri: string;
    client_id: string;
    state: AuthState;
    redirect_uri: string;
    scope?: string[] | undefined;
}

export interface AuthResult {
    accessToken: string;
    state: AuthState;
}

export function finish(): AuthResult | undefined | null;
export function parseCredentials(hashString: string): AuthParams;
export function run(options: any): any;
export function start(options: AuthParams): void;

export namespace run {
    function finish(): AuthResult | undefined | null;
    function parseCredentials(hashString: string): AuthParams;
    function start(options: AuthParams): void;
}

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
 * Dependencies: none

# Credits
These definitions were written by [Max Boguslavskiy](https://github.com/maxbogus).

---
_Source: https://npm.io/package/@types/oauth2-implicit · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
