Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
public get auth(): any {
if (!this[kAuth]) {
showDeprecatedMessage('vk.auth deprecated, use @vk-io/authorization instead');
// eslint-disable-next-line
this[kAuth] = new (require('@vk-io/authorization').Authorization)(this);
}
return this[kAuth];
}