@google-cloud/oslogin

The @google-cloud/oslogin package has the following named exports:

Source:
Examples

Install the client library with npm:

npm install --save @google-cloud/oslogin

Import the client library:

const oslogin = require('@google-cloud/oslogin');

Create a client that uses Application Default Credentials (ADC):

const client = new oslogin.OsLoginServiceClient();

Create a client with explicit credentials:

const client = new oslogin.OsLoginServiceClient({
  projectId: 'your-project-id',
  keyFilename: '/path/to/keyfile.json',
});

Members

(static) v1beta :object

Properties:
Name Type Description
OsLoginServiceClient constructor

Reference to v1beta.OsLoginServiceClient

Source: