@crossauth/common 0.0.27 → 0.0.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/oauth/client.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { OpenIdConfiguration } from './wellknown';
|
|
1
2
|
import * as jose from 'jose';
|
|
2
|
-
import { type OpenIdConfiguration } from './wellknown';
|
|
3
3
|
/** Allows passing either a Jose KeyLike object or a key as a binary array */
|
|
4
4
|
export type EncryptionKey = jose.KeyLike | Uint8Array;
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
1
|
import { JsonWebKey } from 'crypto';
|
|
2
|
+
|
|
3
3
|
export type TokenEndpointAuthMethod = "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt";
|
|
4
4
|
export type ResponseMode = "query" | "fragment";
|
|
5
5
|
export type GrantType = "authorization_code" | "implicit" | "client_credentials" | "password" | "refresh_token" | "http://auth0.com/oauth/grant-type/mfa-otp" | "http://auth0.com/oauth/grant-type/mfa-oob" | "urn:ietf:params:oauth:grant-type:device_code";
|