@gooddata/api-client-bear
Version:
API Client for the GoodData platform
52 lines • 1.69 kB
JavaScript
export class UserModuleDecorator {
decorated;
constructor(decorated) {
this.decorated = decorated;
}
async isLoggedIn() {
return this.decorated.isLoggedIn();
}
async isLoggedInProject(projectId) {
return this.decorated.isLoggedInProject(projectId);
}
login(username, password) {
return this.decorated.login(username, password);
}
loginSso(encryptedClaims, ssoProvider, targetUrl) {
return this.decorated.loginSso(encryptedClaims, ssoProvider, targetUrl);
}
async logout() {
return this.decorated.logout();
}
getCurrentProfile() {
return this.decorated.getCurrentProfile();
}
getUserRegionalNumberFormatting(userId) {
return this.decorated.getUserRegionalNumberFormatting(userId);
}
updateProfileSettings(profileId, profileSetting) {
return this.decorated.updateProfileSettings(profileId, profileSetting);
}
async getAccountInfo() {
return this.decorated.getAccountInfo();
}
async getUserConfigs(userId) {
return this.decorated.getUserConfigs(userId);
}
getUserFeatureFlags(userId, sourceFilter) {
return this.decorated.getUserFeatureFlags(userId, sourceFilter);
}
async getFeatureFlags() {
return this.decorated.getFeatureFlags();
}
async getCurrentOrganization() {
return this.decorated.getCurrentOrganization();
}
getBootstrapResource(options = {}) {
return this.decorated.getBootstrapResource(options);
}
initiateSamlSso(relayState) {
return this.decorated.initiateSamlSso(relayState);
}
}
//# sourceMappingURL=user.js.map