25 lines
353 B
JavaScript

export default class MockKeycloak {
constructor(config = {}) {
this.config = config;
this.authenticated = false;
this.token = "";
this.tokenParsed = {};
}
async init() {
return true;
}
async login() {
return undefined;
}
async logout() {
return undefined;
}
async updateToken() {
return true;
}
}