@sparkstudio/authentication-ui 1.0.4 → 1.0.5
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.cjs +15 -3155
- package/dist/index.css +1 -1
- package/dist/index.d.cts +6 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.js +33 -3187
- package/package.json +6 -3
- package/dist/index.cjs.map +0 -1
- package/dist/index.js.map +0 -1
package/dist/index.css
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -18,6 +18,11 @@ interface LoginButtonProps {
|
|
|
18
18
|
}
|
|
19
19
|
declare function LoginButton({ onSuccess }: LoginButtonProps): react_jsx_runtime.JSX.Element;
|
|
20
20
|
|
|
21
|
+
interface AuthenticationTestButtonProps {
|
|
22
|
+
onSuccess?: (tokenResponse: any) => void;
|
|
23
|
+
}
|
|
24
|
+
declare function AuthenticationTestButton({ onSuccess }: AuthenticationTestButtonProps): react_jsx_runtime.JSX.Element;
|
|
25
|
+
|
|
21
26
|
/**
|
|
22
27
|
* Represents an Auto-generated model for UserDTO.
|
|
23
28
|
*/
|
|
@@ -102,4 +107,4 @@ declare class SparkStudioAuthenticationSDK {
|
|
|
102
107
|
constructor(baseUrl: string);
|
|
103
108
|
}
|
|
104
109
|
|
|
105
|
-
export { AuthenticatorProvider, type AuthenticatorProviderProps, EMPTY_GUID, type Guid, LoginButton, SparkStudioAuthenticationSDK, UserInfoCard, UserProvider, useUser };
|
|
110
|
+
export { AuthenticationTestButton, AuthenticatorProvider, type AuthenticatorProviderProps, EMPTY_GUID, type Guid, LoginButton, SparkStudioAuthenticationSDK, UserInfoCard, UserProvider, useUser };
|
package/dist/index.d.ts
CHANGED
|
@@ -18,6 +18,11 @@ interface LoginButtonProps {
|
|
|
18
18
|
}
|
|
19
19
|
declare function LoginButton({ onSuccess }: LoginButtonProps): react_jsx_runtime.JSX.Element;
|
|
20
20
|
|
|
21
|
+
interface AuthenticationTestButtonProps {
|
|
22
|
+
onSuccess?: (tokenResponse: any) => void;
|
|
23
|
+
}
|
|
24
|
+
declare function AuthenticationTestButton({ onSuccess }: AuthenticationTestButtonProps): react_jsx_runtime.JSX.Element;
|
|
25
|
+
|
|
21
26
|
/**
|
|
22
27
|
* Represents an Auto-generated model for UserDTO.
|
|
23
28
|
*/
|
|
@@ -102,4 +107,4 @@ declare class SparkStudioAuthenticationSDK {
|
|
|
102
107
|
constructor(baseUrl: string);
|
|
103
108
|
}
|
|
104
109
|
|
|
105
|
-
export { AuthenticatorProvider, type AuthenticatorProviderProps, EMPTY_GUID, type Guid, LoginButton, SparkStudioAuthenticationSDK, UserInfoCard, UserProvider, useUser };
|
|
110
|
+
export { AuthenticationTestButton, AuthenticatorProvider, type AuthenticatorProviderProps, EMPTY_GUID, type Guid, LoginButton, SparkStudioAuthenticationSDK, UserInfoCard, UserProvider, useUser };
|