# authApi Module ## Overview This module provides APIs for auth operations. ## API Functions ### guest.ts Source: `src/api/auth/guest.ts` #### `getEntityPrintablePDF()` ```typescript async function getEntityPrintablePDF(input: string): Promise ``` ### login.ts Source: `src/api/auth/login.ts` #### `sendAuthCredential()` ```typescript async function sendAuthCredential(data: AuthCredentialReqVO): Promise ``` #### `sendAuthEmailVerifyChange()` ```typescript async function sendAuthEmailVerifyChange(data: AuthEmailVerifyChangeReqVO): Promise ``` #### `sendAuthEmployeeIdLogin()` ```typescript async function sendAuthEmployeeIdLogin(data: AuthEmployeeIdLoginReqVO): Promise ``` #### `sendAuthIdCardLogin()` ```typescript async function sendAuthIdCardLogin(data: AuthIdCardLoginReqVO): Promise ``` #### `sendAuthPasswordLogin()` ```typescript async function sendAuthPasswordLogin(data: AuthPasswordLoginReqVO): Promise ``` #### `sendAuthRegisterAccount()` ```typescript async function sendAuthRegisterAccount(data: AuthRegisterReqVO): Promise ``` #### `sendAuthResetPassword()` ```typescript async function sendAuthResetPassword(id: string, data: AuthResetPasswordReqVO): Promise ``` #### `sendAuthResetPasswordEmail()` ```typescript async function sendAuthResetPasswordEmail(data: AuthSendResetPasswordEmailReqVO): Promise ``` #### `sendAuthVerifyEmailResetPasswordCode()` ```typescript async function sendAuthVerifyEmailResetPasswordCode(id: string, data: AuthVerifyEmailResetPasswordCodeReqVO): Promise ``` #### `getAuthStrategy()` ```typescript async function getAuthStrategy(): Promise ``` ### oauth.ts Source: `src/api/auth/oauth.ts` #### `getOAuthToken()` ```typescript async function getOAuthToken(data: OAuthTokenReqVO): Promise ``` #### `getOAuthClientInfo()` ```typescript async function getOAuthClientInfo(clientId: string): Promise ``` #### `getOAuthAuthorizeCode()` ```typescript async function getOAuthAuthorizeCode(data: OAuthGetAuthorizeCodeReqVO): Promise ``` #### `createClientToken()` ```typescript async function createClientToken(data: { client_hash_id: string scope?: string[] origin: string target_tenant_id?: string }): Promise<{ access_token: string token_type: string expires_in: number scope: string }> ```