@absolutejs/auth 0.7.0 → 0.7.1
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/index.js +1 -0
- package/dist/src/index.d.ts +3 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
package/dist/src/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { OAuth2TokenResponse, OAuth2Client, ProviderOption, PKCEProvider, OIDCProvider, RefreshableProvider, RevocableProvider, ScopeRequiredProvider, CredentialsFor, providerOptions, isValidProviderOption, isRefreshableOAuth2Client, isRefreshableProviderOption, isOIDCProviderOption, isPKCEProviderOption, isRevocableProviderOption, isRevocableOAuth2Client } from 'citra';
|
|
1
2
|
import { Elysia } from 'elysia';
|
|
2
3
|
import { AbsoluteAuthProps } from './types';
|
|
3
4
|
export declare const absoluteAuth: <UserType>({ providersConfiguration, authorizeRoute, callbackRoute, profileRoute, signoutRoute, statusRoute, refreshRoute, revokeRoute, onAuthorize, onProfile, onCallback, onStatus, onRefresh, onSignOut, onRevocation }: AbsoluteAuthProps<UserType>) => Elysia<"", {
|
|
@@ -184,5 +185,5 @@ export declare const absoluteAuth: <UserType>({ providersConfiguration, authoriz
|
|
|
184
185
|
}>;
|
|
185
186
|
export * from './types';
|
|
186
187
|
export * from './utils';
|
|
187
|
-
export type {
|
|
188
|
-
export { isValidProviderOption, isRefreshableOAuth2Client, isRefreshableProviderOption, isOIDCProviderOption, isPKCEProviderOption, isRevocableProviderOption, isRevocableOAuth2Client }
|
|
188
|
+
export type { OAuth2Client, OAuth2TokenResponse, ProviderOption, PKCEProvider, OIDCProvider, RefreshableProvider, RevocableProvider, ScopeRequiredProvider, CredentialsFor };
|
|
189
|
+
export { providerOptions, isValidProviderOption, isRefreshableOAuth2Client, isRefreshableProviderOption, isOIDCProviderOption, isPKCEProviderOption, isRevocableProviderOption, isRevocableOAuth2Client };
|
package/package.json
CHANGED