How to use @azure/ms-rest-browserauth - 1 common examples

To help you get started, we’ve selected a few @azure/ms-rest-browserauth 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 microsoft / VoTT / src / services / authenticationService.ts View on Github external
public async login() {
        const authManager = new AuthManager({ clientId: this.clientId });
        let result = await authManager.finalizeLogin();
        if (!result.isLoggedIn) {
            authManager.login();
        }
        result = result as LoggedIn;
        this.credentials = result.creds;
        this.availableSubscriptions = result.availableSubscriptions;
    }

@azure/ms-rest-browserauth

Browser-specific authentication library for Azure services

MIT
Latest version published 3 years ago

Package Health Score

52 / 100
Full package analysis

Popular @azure/ms-rest-browserauth functions