lisk-framework
Version:
Lisk blockchain application platform
13 lines • 543 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.AuthMethod = void 0;
const base_method_1 = require("../base_method");
const auth_account_1 = require("./stores/auth_account");
class AuthMethod extends base_method_1.BaseMethod {
async getAuthAccount(methodContext, address) {
const authAccountStore = this.stores.get(auth_account_1.AuthAccountStore);
return authAccountStore.getOrDefault(methodContext, address);
}
}
exports.AuthMethod = AuthMethod;
//# sourceMappingURL=method.js.map
;