@thetechfossil/auth2 1.2.21 → 1.2.22

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.
@@ -162,6 +162,8 @@ declare class AuthService {
162
162
  constructor(config: AuthConfig);
163
163
  private loadTokenFromStorage;
164
164
  private saveTokenToStorage;
165
+ private setTokenCookie;
166
+ private removeTokenCookie;
165
167
  private removeTokenFromStorage;
166
168
  private connectSocket;
167
169
  private disconnectSocket;
@@ -505,6 +507,19 @@ interface UserProfileProps {
505
507
  }
506
508
  declare const UserProfile: React.FC<UserProfileProps>;
507
509
 
510
+ interface SuperAdminSignInProps {
511
+ redirectUrl?: string;
512
+ appearance?: {
513
+ elements?: {
514
+ formButtonPrimary?: React.CSSProperties;
515
+ card?: React.CSSProperties;
516
+ headerTitle?: React.CSSProperties;
517
+ formFieldInput?: React.CSSProperties;
518
+ };
519
+ };
520
+ }
521
+ declare const SuperAdminSignIn: React.FC<SuperAdminSignInProps>;
522
+
508
523
  interface PhoneInputProps {
509
524
  value: string;
510
525
  onChange: (value: string) => void;
@@ -588,4 +603,4 @@ interface UseNextAuthReturn {
588
603
  }
589
604
  declare const useNextAuth: (config: AuthConfig) => UseNextAuthReturn;
590
605
 
591
- export { type AuditLog, type AuthConfig, AuthFlow, AuthProvider, type AuthResponse, AuthService, AuthThemeProvider, AvatarManager, type AvatarManagerProps, AvatarUploader, type AvatarUploaderProps, ChangePassword, type CsrfTokenResponse, EmailVerificationPage, ForgotPassword, HttpClient, type LinkedAccount, type LoginData, LoginForm, type MFASetup, type OAuthConfig, type OAuthProvider, OtpForm, PhoneInput, ProtectedRoute, PublicRoute, type RegisterData, RegisterForm, type RegisterFormProps, ResetPassword, type Session, SignIn, SignOut, SignUp, type UpdateUserData, type UpfilesConfig, type UseAuthReturn, type User, UserButton, UserProfile, type VerifyData, VerifyEmail, useAuth, useAuth$1 as useAuthLegacy, useAuthTheme, useNextAuth };
606
+ export { type AuditLog, type AuthConfig, AuthFlow, AuthProvider, type AuthResponse, AuthService, AuthThemeProvider, AvatarManager, type AvatarManagerProps, AvatarUploader, type AvatarUploaderProps, ChangePassword, type CsrfTokenResponse, EmailVerificationPage, ForgotPassword, HttpClient, type LinkedAccount, type LoginData, LoginForm, type MFASetup, type OAuthConfig, type OAuthProvider, OtpForm, PhoneInput, ProtectedRoute, PublicRoute, type RegisterData, RegisterForm, type RegisterFormProps, ResetPassword, type Session, SignIn, SignOut, SignUp, SuperAdminSignIn, type UpdateUserData, type UpfilesConfig, type UseAuthReturn, type User, UserButton, UserProfile, type VerifyData, VerifyEmail, useAuth, useAuth$1 as useAuthLegacy, useAuthTheme, useNextAuth };
@@ -162,6 +162,8 @@ declare class AuthService {
162
162
  constructor(config: AuthConfig);
163
163
  private loadTokenFromStorage;
164
164
  private saveTokenToStorage;
165
+ private setTokenCookie;
166
+ private removeTokenCookie;
165
167
  private removeTokenFromStorage;
166
168
  private connectSocket;
167
169
  private disconnectSocket;
@@ -505,6 +507,19 @@ interface UserProfileProps {
505
507
  }
506
508
  declare const UserProfile: React.FC<UserProfileProps>;
507
509
 
510
+ interface SuperAdminSignInProps {
511
+ redirectUrl?: string;
512
+ appearance?: {
513
+ elements?: {
514
+ formButtonPrimary?: React.CSSProperties;
515
+ card?: React.CSSProperties;
516
+ headerTitle?: React.CSSProperties;
517
+ formFieldInput?: React.CSSProperties;
518
+ };
519
+ };
520
+ }
521
+ declare const SuperAdminSignIn: React.FC<SuperAdminSignInProps>;
522
+
508
523
  interface PhoneInputProps {
509
524
  value: string;
510
525
  onChange: (value: string) => void;
@@ -588,4 +603,4 @@ interface UseNextAuthReturn {
588
603
  }
589
604
  declare const useNextAuth: (config: AuthConfig) => UseNextAuthReturn;
590
605
 
591
- export { type AuditLog, type AuthConfig, AuthFlow, AuthProvider, type AuthResponse, AuthService, AuthThemeProvider, AvatarManager, type AvatarManagerProps, AvatarUploader, type AvatarUploaderProps, ChangePassword, type CsrfTokenResponse, EmailVerificationPage, ForgotPassword, HttpClient, type LinkedAccount, type LoginData, LoginForm, type MFASetup, type OAuthConfig, type OAuthProvider, OtpForm, PhoneInput, ProtectedRoute, PublicRoute, type RegisterData, RegisterForm, type RegisterFormProps, ResetPassword, type Session, SignIn, SignOut, SignUp, type UpdateUserData, type UpfilesConfig, type UseAuthReturn, type User, UserButton, UserProfile, type VerifyData, VerifyEmail, useAuth, useAuth$1 as useAuthLegacy, useAuthTheme, useNextAuth };
606
+ export { type AuditLog, type AuthConfig, AuthFlow, AuthProvider, type AuthResponse, AuthService, AuthThemeProvider, AvatarManager, type AvatarManagerProps, AvatarUploader, type AvatarUploaderProps, ChangePassword, type CsrfTokenResponse, EmailVerificationPage, ForgotPassword, HttpClient, type LinkedAccount, type LoginData, LoginForm, type MFASetup, type OAuthConfig, type OAuthProvider, OtpForm, PhoneInput, ProtectedRoute, PublicRoute, type RegisterData, RegisterForm, type RegisterFormProps, ResetPassword, type Session, SignIn, SignOut, SignUp, SuperAdminSignIn, type UpdateUserData, type UpfilesConfig, type UseAuthReturn, type User, UserButton, UserProfile, type VerifyData, VerifyEmail, useAuth, useAuth$1 as useAuthLegacy, useAuthTheme, useNextAuth };