@ssplib/react-components 0.0.331 → 0.0.333

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.
@@ -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 {};