How to use @here/olp-sdk-authentication - 1 common examples

To help you get started, we’ve selected a few @here/olp-sdk-authentication 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 heremaps / here-olp-sdk-typescript / tests / integration / bundles / umd / olp-sdk-authentication-testCases.ts View on Github external
callback: () => {
                const userAuth = new UserAuth({
                    credentials: {
                        accessKeyId: "mocked-id",
                        accessKeyScrt: "mocked-str"
                    },
                    tokenRequester: requestToken
                });

                assert(userAuth.getToken !== undefined);
                assert(userAuth.getUserInfo !== undefined);
                assert(userAuth.validateAccessToken !== undefined);
            }
        },

@here/olp-sdk-authentication

Wrapper around the HERE Authentication and Authorization REST API obtaining short-lived access tokens that are used to authenticate requests to HERE services.

Apache-2.0
Latest version published 9 days ago

Package Health Score

69 / 100
Full package analysis

Popular @here/olp-sdk-authentication functions

Similar packages