@absolutejs/auth 0.6.0 → 0.7.0
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 +7 -1
- package/dist/src/index.d.ts +3 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1985,7 +1985,6 @@ var status = ({
|
|
|
1985
1985
|
headers: { "Content-Type": "application/json" }
|
|
1986
1986
|
});
|
|
1987
1987
|
});
|
|
1988
|
-
|
|
1989
1988
|
// src/utils.ts
|
|
1990
1989
|
var instantiateUserSession = async ({
|
|
1991
1990
|
user_session_id,
|
|
@@ -2054,6 +2053,13 @@ var absoluteAuth = ({
|
|
|
2054
2053
|
})).use(protectRoute()).as("plugin");
|
|
2055
2054
|
};
|
|
2056
2055
|
export {
|
|
2056
|
+
isValidProviderOption,
|
|
2057
|
+
isRevocableProviderOption,
|
|
2058
|
+
isRevocableOAuth2Client,
|
|
2059
|
+
isRefreshableProviderOption,
|
|
2060
|
+
isRefreshableOAuth2Client,
|
|
2061
|
+
isPKCEProviderOption,
|
|
2062
|
+
isOIDCProviderOption,
|
|
2057
2063
|
instantiateUserSession,
|
|
2058
2064
|
createProvidersConfiguration,
|
|
2059
2065
|
createAuthConfiguration,
|
package/dist/src/index.d.ts
CHANGED
|
@@ -182,4 +182,7 @@ export declare const absoluteAuth: <UserType>({ providersConfiguration, authoriz
|
|
|
182
182
|
resolve: {};
|
|
183
183
|
schema: {};
|
|
184
184
|
}>;
|
|
185
|
+
export * from './types';
|
|
185
186
|
export * from './utils';
|
|
187
|
+
export type { OAuth2TokenResponse, OAuth2Client, ProviderOption, PKCEProvider, OIDCProvider, RefreshableProvider, RevocableProvider, ScopeRequiredProvider, CredentialsFor } from 'citra';
|
|
188
|
+
export { isValidProviderOption, isRefreshableOAuth2Client, isRefreshableProviderOption, isOIDCProviderOption, isPKCEProviderOption, isRevocableProviderOption, isRevocableOAuth2Client } from 'citra';
|
package/package.json
CHANGED