# @types/saml20

> TypeScript definitions for saml20

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

## Install

```sh
npm install @types/saml20
pnpm add @types/saml20
yarn add @types/saml20
bun add @types/saml20
```

## Health

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

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

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

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.1.3 |
| Published | 2023-11-07 |
| First published | 2017-07-27 |
| 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 | 51442 |
| Maintainers | types |

## Links

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

## Recent versions

- 0.1.3 (latest) — 2023-11-07
- 0.1.1 (ts3.6) — 2021-07-06
- 0.1.0 (ts2.0) — 2017-07-27
- 0.1.2 — 2023-10-18

## README

# Installation
> `npm install --save @types/saml20`

# Summary
This package contains type definitions for saml20 (https://github.com/leandrob/saml20).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/saml20.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/saml20/index.d.ts)
````ts
export interface Profile {
    issuer: string;
    claims: any;
    audience?: string | undefined;
    sessionIndex?: string | undefined; // only SAML 2.0
}

export type ValidationOptions = ValidationOptionsWithKey | ValidationOptionsWithPrint;

export interface ValidationOptionsWithKey {
    publicKey: string;
    bypassExpiration?: boolean | undefined;
    audience?: any;
}

export interface ValidationOptionsWithPrint {
    thumbprint: string;
    bypassExpiration?: boolean | undefined;
    audience?: any;
}

export type ParseCallback = (err: Error | null, profile: Profile, version: string) => void;

export function parse(rawAssertion: string, cb: ParseCallback): void;
export function validate(rawAssertion: string, options: ValidationOptions, cb: ParseCallback): void;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 15:11:36 GMT
 * Dependencies: none

# Credits
These definitions were written by [Jan Petzold](https://github.com/HackerUndKoch).

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