How to use @vk-io/authorization - 1 common examples

To help you get started, we’ve selected a few @vk-io/authorization examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github negezor / vk-io / packages / vk-io / src / vk.ts View on Github external
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];
	}

@vk-io/authorization

Separated module for authorization

MIT
Latest version published 1 year ago

Package Health Score

59 / 100
Full package analysis

Popular @vk-io/authorization functions