@absolutejs/auth 0.7.0 → 0.7.2
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 +15 -3
- package/dist/src/index.d.ts +1 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
|
+
// src/index.ts
|
|
3
|
+
import { Elysia as Elysia10 } from "elysia";
|
|
4
|
+
|
|
2
5
|
// node_modules/citra/dist/index.js
|
|
3
6
|
var NUM_GENERATOR_BYTES = 32;
|
|
4
7
|
var BASE64_BLOCK_SIZE = 4;
|
|
@@ -1564,9 +1567,6 @@ var createOAuth2Client = (providerName, config) => {
|
|
|
1564
1567
|
};
|
|
1565
1568
|
};
|
|
1566
1569
|
|
|
1567
|
-
// src/index.ts
|
|
1568
|
-
import { Elysia as Elysia10 } from "elysia";
|
|
1569
|
-
|
|
1570
1570
|
// src/authorize.ts
|
|
1571
1571
|
import { Elysia } from "elysia";
|
|
1572
1572
|
|
|
@@ -2053,6 +2053,8 @@ var absoluteAuth = ({
|
|
|
2053
2053
|
})).use(protectRoute()).as("plugin");
|
|
2054
2054
|
};
|
|
2055
2055
|
export {
|
|
2056
|
+
providers,
|
|
2057
|
+
providerOptions,
|
|
2056
2058
|
isValidProviderOption,
|
|
2057
2059
|
isRevocableProviderOption,
|
|
2058
2060
|
isRevocableOAuth2Client,
|
|
@@ -2061,7 +2063,17 @@ export {
|
|
|
2061
2063
|
isPKCEProviderOption,
|
|
2062
2064
|
isOIDCProviderOption,
|
|
2063
2065
|
instantiateUserSession,
|
|
2066
|
+
hasClientSecret,
|
|
2067
|
+
generateState,
|
|
2068
|
+
generateCodeVerifier,
|
|
2069
|
+
encodeBase64,
|
|
2070
|
+
decodeJWT,
|
|
2071
|
+
decodeBase64,
|
|
2072
|
+
createS256CodeChallenge,
|
|
2064
2073
|
createProvidersConfiguration,
|
|
2074
|
+
createOAuth2Request,
|
|
2075
|
+
createOAuth2FetchError,
|
|
2076
|
+
createOAuth2Client,
|
|
2065
2077
|
createAuthConfiguration,
|
|
2066
2078
|
absoluteAuth
|
|
2067
2079
|
};
|
package/dist/src/index.d.ts
CHANGED
|
@@ -184,5 +184,4 @@ export declare const absoluteAuth: <UserType>({ providersConfiguration, authoriz
|
|
|
184
184
|
}>;
|
|
185
185
|
export * from './types';
|
|
186
186
|
export * from './utils';
|
|
187
|
-
export
|
|
188
|
-
export { isValidProviderOption, isRefreshableOAuth2Client, isRefreshableProviderOption, isOIDCProviderOption, isPKCEProviderOption, isRevocableProviderOption, isRevocableOAuth2Client } from 'citra';
|
|
187
|
+
export * from 'citra';
|
package/package.json
CHANGED