import type { APSId } from '../models/APSId'; import type { APSLoginInternal } from '../models/APSLoginInternal'; import type { APSSessionLoginResponse } from '../models/APSSessionLoginResponse'; import type { APSSessionLogoutResponse } from '../models/APSSessionLogoutResponse'; import type { APSSessionRefreshTokenResponse } from '../models/APSSessionRefreshTokenResponse'; import type { APSUserLoginCredentials } from '../models/APSUserLoginCredentials'; import type { CancelablePromise } from '../core/CancelablePromise'; export declare class ApsSessionService { /** * Redirects to the login page of the configured IDP. * @returns APSLoginInternal Use internal login. * @throws ApiError */ static apsGetLogin(): CancelablePromise; /** * Login. * @returns APSSessionLoginResponse Successful login. * @throws ApiError */ static apsLogin({ requestBody, }: { /** The login credentials. **/ requestBody: APSUserLoginCredentials; }): CancelablePromise; /** * Refresh auth token. * @returns APSSessionRefreshTokenResponse Successful login. * @throws ApiError */ static apsRefreshToken(): CancelablePromise; /** * Logout user. * @returns APSSessionLogoutResponse Success * @throws ApiError */ static apsLogout(): CancelablePromise; /** * Invalidate current sessions for all users. Use when system was re-configured to force users to login again. * @returns void * @throws ApiError */ static apsLogoutAll(): CancelablePromise; /** * Invalidate current sessions for all users in the organization. Use when organization was re-configured to force users to login again. * @returns void * @throws ApiError */ static logoutOrganizationAll({ organizationId, }: { organizationId: APSId; }): CancelablePromise; }