/** * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). * * WSO2 LLC. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ import { AuthClientConfig, TokenExchangeRequestConfig, StorageManager, IdToken, OIDCEndpoints, Storage, TokenResponse, User } from '@asgardeo/javascript'; import { AuthURLCallback } from '../models'; export declare class AsgardeoNodeCore { private auth; private cryptoUtils; private store; private storageManager; constructor(config: AuthClientConfig, store?: Storage); signIn(authURLCallback: AuthURLCallback, userId: string, authorizationCode?: string, sessionState?: string, state?: string, signInConfig?: Record): Promise; getAuthURL(userId: string, signInConfig?: Record): Promise; requestAccessToken(authorizationCode: string, sessionState: string, userId: string, state: string): Promise; getIdToken(userId: string): Promise; refreshAccessToken(userId?: string): Promise; isSignedIn(userId: string): Promise; signOut(userId: string): Promise; getUser(userId: string): Promise; getConfigData(): Promise>; getOpenIDProviderEndpoints(): Promise; getDecodedIdToken(userId?: string, idToken?: string): Promise; getAccessToken(userId?: string): Promise; exchangeToken(config: TokenExchangeRequestConfig, userId?: string): Promise; reInitialize(config: Partial>): Promise; revokeAccessToken(userId?: string): Promise; static didSignOutFail(afterSignOutUrl: string): boolean; static isSignOutSuccessful(afterSignOutUrl: string): boolean; getStorageManager(): StorageManager; decodeJwtToken>(token: string): Promise; } //# sourceMappingURL=authentication.d.ts.map