@sap-ux/store
Version:
NPM module for storing persistent data
41 lines • 1.4 kB
TypeScript
import type { EntityKey } from '.';
export declare const AuthenticationType: {
readonly Basic: "basic";
readonly ReentranceTicket: "reentranceTicket";
readonly OAuth2RefreshToken: "oauth2";
readonly OAuth2ClientCredential: "oauth2ClientCredential";
};
export type AuthenticationType = (typeof AuthenticationType)[keyof typeof AuthenticationType];
export declare class BackendSystem {
readonly name: string;
readonly url: string;
readonly client?: string;
readonly userDisplayName?: string;
readonly serviceKeys?: unknown;
readonly refreshToken?: string;
readonly username?: string;
readonly password?: string;
readonly authenticationType?: string;
constructor({ name, url, client, serviceKeys, refreshToken, username, password, userDisplayName, authenticationType }: {
name: string;
url: string;
client?: string;
serviceKeys?: unknown;
refreshToken?: string;
username?: string;
password?: string;
userDisplayName?: string;
authenticationType?: string;
});
}
export declare class BackendSystemKey implements EntityKey {
private url;
private client?;
static from(system: BackendSystem): EntityKey;
constructor({ url, client }: {
url: string;
client?: string;
});
getId(): string;
}
//# sourceMappingURL=backend-system.d.ts.map