@ssplib/react-components 0.0.331 → 0.0.332
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/components/providers/KeycloakAuthProvider.d.ts +3 -1
- package/index.cjs +2 -2
- package/index.cjs.map +1 -1
- package/index.esm.js +2 -2
- package/index.esm.js.map +1 -1
- package/package.json +1 -1
|
@@ -14,6 +14,8 @@ interface KeycloakAuthProviderProps {
|
|
|
14
14
|
type?: 'govbr' | 'ad';
|
|
15
15
|
/** Nome do recurso para extrair roles */
|
|
16
16
|
resource_name?: string;
|
|
17
|
+
/** Base path da aplicação (ex: '/revidf'). Deixe vazio ou '/' para raiz */
|
|
18
|
+
basePath?: string;
|
|
17
19
|
/** URL de redirecionamento após login */
|
|
18
20
|
redirectUri?: string;
|
|
19
21
|
/** Callback executado quando autenticação é bem-sucedida */
|
|
@@ -34,5 +36,5 @@ interface KeycloakAuthProviderProps {
|
|
|
34
36
|
* - Login e logout com callbacks personalizáveis
|
|
35
37
|
* - Verificação de roles
|
|
36
38
|
*/
|
|
37
|
-
export declare function KeycloakAuthProvider({ url, realm, clientId, children, type, resource_name, redirectUri, onAuthSuccess, onAuthError, onLogoutSuccess, enableDebugLogs, }: KeycloakAuthProviderProps): JSX.Element;
|
|
39
|
+
export declare function KeycloakAuthProvider({ url, realm, clientId, children, type, resource_name, basePath, redirectUri, onAuthSuccess, onAuthError, onLogoutSuccess, enableDebugLogs, }: KeycloakAuthProviderProps): JSX.Element;
|
|
38
40
|
export {};
|