import { DataLayer } from "../data"; import { CryptoHelper } from "../helpers"; import { AuthClientConfig, AuthorizationURLParams, BasicUserInfo, CryptoUtils, CustomGrantConfig, DecodedIDTokenPayload, FetchResponse, OIDCEndpoints, TokenResponse } from "../models"; export declare class AuthenticationCore { private _dataLayer; private _config; private _oidcProviderMetaData; private _authenticationHelper; private _cryptoUtils; private _cryptoHelper; constructor(dataLayer: DataLayer, cryptoUtils: CryptoUtils); getAuthorizationURLParams(config?: AuthorizationURLParams, userID?: string): Promise>; getAuthorizationURL(config?: AuthorizationURLParams, userID?: string): Promise; requestAccessToken(authorizationCode: string, sessionState: string, state: string, userID?: string, tokenRequestConfig?: { params: Record; }): Promise; refreshAccessToken(userID?: string): Promise; revokeAccessToken(userID?: string): Promise; requestCustomGrant(customGrantParams: CustomGrantConfig, userID?: string): Promise; getBasicUserInfo(userID?: string): Promise; getDecodedIDToken(userID?: string): Promise; getCryptoHelper(): Promise; getIDToken(userID?: string): Promise; getOIDCProviderMetaData(forceInit: boolean): Promise; getOIDCServiceEndpoints(): Promise; getSignOutURL(userID?: string): Promise; clearUserSessionData(userID?: string): Promise; getAccessToken(userID?: string): Promise; /** * The created timestamp of the token response in milliseconds. * * @param userID - User ID * @returns Created at timestamp of the token response in milliseconds. */ getCreatedAt(userID?: string): Promise; /** * The expires timestamp of the token response in seconds. * * @param userID - User ID * @returns Expires in timestamp of the token response in seconds. */ getExpiresIn(userID?: string): Promise; isAuthenticated(userID?: string): Promise; getPKCECode(state: string, userID?: string): Promise; setPKCECode(pkce: string, state: string, userID?: string): Promise; updateConfig(config: Partial>): Promise; } //# sourceMappingURL=authentication-core.d.ts.map