Compare commits

...

1 Commits

Author SHA1 Message Date
speakeasybot
2492807c65 ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.405.6 2024-10-01 15:37:08 +00:00
22 changed files with 137 additions and 55 deletions

View File

@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 16f22cbf-f23f-4419-8924-3a4b06381947
management:
docChecksum: f12b653820ae77ca3b2820bc9459d866
docChecksum: 8211d52d43d85f28d036343732de833a
docVersion: 0.0.3
speakeasyVersion: 1.405.6
generationVersion: 2.428.1
releaseVersion: 0.24.0
configChecksum: 12acbc7182c6906e6ba67c064cf39c2c
releaseVersion: 0.24.1
configChecksum: 3e2876ee2c8211e7dbed88c3d78e86ed
repoURL: https://github.com/LukeHagar/plexjs.git
repoSubDirectory: .
installationURL: https://github.com/LukeHagar/plexjs

View File

@@ -12,7 +12,7 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: true
typescript:
version: 0.24.0
version: 0.24.1
additionalDependencies:
dependencies: {}
devDependencies: {}

View File

@@ -9,8 +9,8 @@ sources:
- main
plexapi:
sourceNamespace: plexapi
sourceRevisionDigest: sha256:c52cde0b8d51e160f7b9f1a3d3ea4dbb1aca6d5caad714e549201fb757fadd57
sourceBlobDigest: sha256:f417b03ff71356808554313f24c3d06d670474bf51bc9a0631de1ad49c13a361
sourceRevisionDigest: sha256:b377f79289070406b0d4adcf59fa6886c6c90cb13a7893c07b44cae956ee25e4
sourceBlobDigest: sha256:92072097f693005146db1ceb5728eee08693d61bb5578b26c32dcbe1cc32927f
tags:
- latest
- main
@@ -18,10 +18,10 @@ targets:
plexjs:
source: plexapi
sourceNamespace: plexapi
sourceRevisionDigest: sha256:c52cde0b8d51e160f7b9f1a3d3ea4dbb1aca6d5caad714e549201fb757fadd57
sourceBlobDigest: sha256:f417b03ff71356808554313f24c3d06d670474bf51bc9a0631de1ad49c13a361
sourceRevisionDigest: sha256:b377f79289070406b0d4adcf59fa6886c6c90cb13a7893c07b44cae956ee25e4
sourceBlobDigest: sha256:92072097f693005146db1ceb5728eee08693d61bb5578b26c32dcbe1cc32927f
codeSamplesNamespace: code-samples-typescript-plexjs
codeSamplesRevisionDigest: sha256:0f48dbf8695dfd00a5ebd3fec72c0d71282b0d395790fe53811866c2756be38d
codeSamplesRevisionDigest: sha256:d2b20286cc2cb6f6ffcd416a467a29872b97bcc88d2e1ffe51e681666ef7ed17
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest

View File

@@ -630,10 +630,10 @@ The following global parameters are available.
| Name | Type | Required | Description |
| ---- | ---- |:--------:| ----------- |
| clientID | string | | The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device) |
| clientName | string | | The clientName parameter. |
| clientVersion | string | | The clientVersion parameter. |
| clientPlatform | string | | The clientPlatform parameter. |
| deviceName | string | | The deviceName parameter. |
| clientName | string | | The name of the client application. This is used to track the client application and its usage. (Plex Web, Plex Media Server, etc.) |
| clientVersion | string | | The version of the client application. This is used to track the client application and its usage. (4.133.0, 5.0.0, etc.) |
| clientPlatform | string | | The platform of the client application. This is used to track the client application and its usage. (Chrome, Safari, etc.) |
| deviceName | string | | The name of the device the client application is running on. This is used to track the client application and its usage. (Linux, iOS, Android, etc.) |
### Example

View File

@@ -1079,3 +1079,13 @@ Based on:
- [typescript v0.24.0] .
### Releases
- [NPM v0.24.0] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.24.0 - .
## 2024-10-01 15:35:33
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.405.6 (2.428.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.24.1] .
### Releases
- [NPM v0.24.1] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.24.1 - .

View File

@@ -13,7 +13,7 @@ let value: GetPinGlobals = {};
| Field | Type | Required | Description | Example |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `clientID` | *string* | :heavy_minus_sign: | The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device) | gcgzw5rz2xovp84b4vha3a40 |
| `clientName` | *string* | :heavy_minus_sign: | N/A | Plex Web |
| `deviceName` | *string* | :heavy_minus_sign: | N/A | Linux |
| `clientVersion` | *string* | :heavy_minus_sign: | N/A | 4.133.0 |
| `clientPlatform` | *string* | :heavy_minus_sign: | N/A | Chrome |
| `clientName` | *string* | :heavy_minus_sign: | The name of the client application. This is used to track the client application and its usage. (Plex Web, Plex Media Server, etc.) | Plex Web |
| `deviceName` | *string* | :heavy_minus_sign: | The name of the device the client application is running on. This is used to track the client application and its usage. (Linux, iOS, Android, etc.) | Linux |
| `clientVersion` | *string* | :heavy_minus_sign: | The version of the client application. This is used to track the client application and its usage. (4.133.0, 5.0.0, etc.) | 4.133.0 |
| `clientPlatform` | *string* | :heavy_minus_sign: | The platform of the client application. This is used to track the client application and its usage. (Chrome, Safari, etc.) | Chrome |

View File

@@ -14,7 +14,7 @@ let value: GetPinRequest = {};
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `strong` | *boolean* | :heavy_minus_sign: | Determines the kind of code returned by the API call<br/>Strong codes are used for Pin authentication flows<br/>Non-Strong codes are used for `Plex.tv/link`<br/> | |
| `clientID` | *string* | :heavy_minus_sign: | The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device) | gcgzw5rz2xovp84b4vha3a40 |
| `clientName` | *string* | :heavy_minus_sign: | N/A | Plex Web |
| `deviceName` | *string* | :heavy_minus_sign: | N/A | Linux |
| `clientVersion` | *string* | :heavy_minus_sign: | N/A | 4.133.0 |
| `clientPlatform` | *string* | :heavy_minus_sign: | N/A | Chrome |
| `clientName` | *string* | :heavy_minus_sign: | The name of the client application. This is used to track the client application and its usage. (Plex Web, Plex Media Server, etc.) | Plex Web |
| `deviceName` | *string* | :heavy_minus_sign: | The name of the device the client application is running on. This is used to track the client application and its usage. (Linux, iOS, Android, etc.) | Linux |
| `clientVersion` | *string* | :heavy_minus_sign: | The version of the client application. This is used to track the client application and its usage. (4.133.0, 5.0.0, etc.) | 4.133.0 |
| `clientPlatform` | *string* | :heavy_minus_sign: | The platform of the client application. This is used to track the client application and its usage. (Chrome, Safari, etc.) | Chrome |

View File

@@ -13,7 +13,7 @@ let value: GetTokenByPinIdGlobals = {};
| Field | Type | Required | Description | Example |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `clientID` | *string* | :heavy_minus_sign: | The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device) | gcgzw5rz2xovp84b4vha3a40 |
| `clientName` | *string* | :heavy_minus_sign: | N/A | Plex Web |
| `deviceName` | *string* | :heavy_minus_sign: | N/A | Linux |
| `clientVersion` | *string* | :heavy_minus_sign: | N/A | 4.133.0 |
| `clientPlatform` | *string* | :heavy_minus_sign: | N/A | Chrome |
| `clientName` | *string* | :heavy_minus_sign: | The name of the client application. This is used to track the client application and its usage. (Plex Web, Plex Media Server, etc.) | Plex Web |
| `deviceName` | *string* | :heavy_minus_sign: | The name of the device the client application is running on. This is used to track the client application and its usage. (Linux, iOS, Android, etc.) | Linux |
| `clientVersion` | *string* | :heavy_minus_sign: | The version of the client application. This is used to track the client application and its usage. (4.133.0, 5.0.0, etc.) | 4.133.0 |
| `clientPlatform` | *string* | :heavy_minus_sign: | The platform of the client application. This is used to track the client application and its usage. (Chrome, Safari, etc.) | Chrome |

View File

@@ -16,7 +16,7 @@ let value: GetTokenByPinIdRequest = {
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `pinID` | *number* | :heavy_check_mark: | The PinID to retrieve an access token for | |
| `clientID` | *string* | :heavy_minus_sign: | The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device) | gcgzw5rz2xovp84b4vha3a40 |
| `clientName` | *string* | :heavy_minus_sign: | N/A | Plex Web |
| `deviceName` | *string* | :heavy_minus_sign: | N/A | Linux |
| `clientVersion` | *string* | :heavy_minus_sign: | N/A | 4.133.0 |
| `clientPlatform` | *string* | :heavy_minus_sign: | N/A | Chrome |
| `clientName` | *string* | :heavy_minus_sign: | The name of the client application. This is used to track the client application and its usage. (Plex Web, Plex Media Server, etc.) | Plex Web |
| `deviceName` | *string* | :heavy_minus_sign: | The name of the device the client application is running on. This is used to track the client application and its usage. (Linux, iOS, Android, etc.) | Linux |
| `clientVersion` | *string* | :heavy_minus_sign: | The version of the client application. This is used to track the client application and its usage. (4.133.0, 5.0.0, etc.) | 4.133.0 |
| `clientPlatform` | *string* | :heavy_minus_sign: | The platform of the client application. This is used to track the client application and its usage. (Chrome, Safari, etc.) | Chrome |

View File

@@ -13,7 +13,7 @@ let value: PostUsersSignInDataGlobals = {};
| Field | Type | Required | Description | Example |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `clientID` | *string* | :heavy_minus_sign: | The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device) | gcgzw5rz2xovp84b4vha3a40 |
| `clientName` | *string* | :heavy_minus_sign: | N/A | Plex Web |
| `deviceName` | *string* | :heavy_minus_sign: | N/A | Linux |
| `clientVersion` | *string* | :heavy_minus_sign: | N/A | 4.133.0 |
| `clientPlatform` | *string* | :heavy_minus_sign: | N/A | Chrome |
| `clientName` | *string* | :heavy_minus_sign: | The name of the client application. This is used to track the client application and its usage. (Plex Web, Plex Media Server, etc.) | Plex Web |
| `deviceName` | *string* | :heavy_minus_sign: | The name of the device the client application is running on. This is used to track the client application and its usage. (Linux, iOS, Android, etc.) | Linux |
| `clientVersion` | *string* | :heavy_minus_sign: | The version of the client application. This is used to track the client application and its usage. (4.133.0, 5.0.0, etc.) | 4.133.0 |
| `clientPlatform` | *string* | :heavy_minus_sign: | The platform of the client application. This is used to track the client application and its usage. (Chrome, Safari, etc.) | Chrome |

View File

@@ -19,8 +19,8 @@ let value: PostUsersSignInDataRequest = {
| Field | Type | Required | Description | Example |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `clientID` | *string* | :heavy_minus_sign: | The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device) | gcgzw5rz2xovp84b4vha3a40 |
| `clientName` | *string* | :heavy_minus_sign: | N/A | Plex Web |
| `deviceName` | *string* | :heavy_minus_sign: | N/A | Linux |
| `clientVersion` | *string* | :heavy_minus_sign: | N/A | 4.133.0 |
| `clientPlatform` | *string* | :heavy_minus_sign: | N/A | Chrome |
| `clientName` | *string* | :heavy_minus_sign: | The name of the client application. This is used to track the client application and its usage. (Plex Web, Plex Media Server, etc.) | Plex Web |
| `deviceName` | *string* | :heavy_minus_sign: | The name of the device the client application is running on. This is used to track the client application and its usage. (Linux, iOS, Android, etc.) | Linux |
| `clientVersion` | *string* | :heavy_minus_sign: | The version of the client application. This is used to track the client application and its usage. (4.133.0, 5.0.0, etc.) | 4.133.0 |
| `clientPlatform` | *string* | :heavy_minus_sign: | The platform of the client application. This is used to track the client application and its usage. (Chrome, Safari, etc.) | Chrome |
| `requestBody` | [operations.PostUsersSignInDataRequestBody](../../../sdk/models/operations/postuserssignindatarequestbody.md) | :heavy_minus_sign: | Login credentials | |

View File

@@ -2,7 +2,7 @@
{
"name": "@lukehagar/plexjs",
"version": "0.24.0",
"version": "0.24.1",
"exports": {
".": "./src/index.ts",
"./sdk/models/errors": "./src/sdk/models/errors/index.ts",

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "@lukehagar/plexjs",
"version": "0.24.0",
"version": "0.24.1",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@lukehagar/plexjs",
"version": "0.24.0",
"version": "0.24.1",
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^7.7.1",
"@typescript-eslint/parser": "^7.7.1",

View File

@@ -1,6 +1,6 @@
{
"name": "@lukehagar/plexjs",
"version": "0.24.0",
"version": "0.24.1",
"author": "LukeHagar",
"main": "./index.js",
"sideEffects": false,

View File

@@ -71,16 +71,16 @@ export async function authenticationPostUsersSignInData(
const path = pathToFunc("/users/signin")();
const query = encodeFormQuery({
"X-Plex-Client-Identifier": payload.ClientID,
"X-Plex-Client-Identifier": client._options.clientID,
"X-Plex-Client-Identifier": payload.ClientID,
"X-Plex-Device": payload.DeviceName,
"X-Plex-Device": client._options.deviceName,
"X-Plex-Platform": payload.ClientPlatform,
"X-Plex-Platform": client._options.clientPlatform,
"X-Plex-Platform": payload.ClientPlatform,
"X-Plex-Product": client._options.clientName,
"X-Plex-Product": payload.ClientName,
"X-Plex-Version": client._options.clientVersion,
"X-Plex-Version": payload.ClientVersion,
"X-Plex-Version": client._options.clientVersion,
});
const headers = new Headers({

View File

@@ -65,14 +65,14 @@ export async function plexGetPin(
const query = encodeFormQuery({
"strong": payload.strong,
"X-Plex-Client-Identifier": client._options.clientID,
"X-Plex-Client-Identifier": payload.ClientID,
"X-Plex-Device": payload.DeviceName,
"X-Plex-Client-Identifier": client._options.clientID,
"X-Plex-Device": client._options.deviceName,
"X-Plex-Platform": client._options.clientPlatform,
"X-Plex-Device": payload.DeviceName,
"X-Plex-Platform": payload.ClientPlatform,
"X-Plex-Product": client._options.clientName,
"X-Plex-Platform": client._options.clientPlatform,
"X-Plex-Product": payload.ClientName,
"X-Plex-Product": client._options.clientName,
"X-Plex-Version": payload.ClientVersion,
"X-Plex-Version": client._options.clientVersion,
});

View File

@@ -79,8 +79,8 @@ export async function plexGetServerResources(
"includeHttps": payload.includeHttps,
"includeIPv6": payload.includeIPv6,
"includeRelay": payload.includeRelay,
"X-Plex-Client-Identifier": client._options.clientID,
"X-Plex-Client-Identifier": payload.ClientID,
"X-Plex-Client-Identifier": client._options.clientID,
});
const headers = new Headers({

View File

@@ -74,12 +74,12 @@ export async function plexGetTokenByPinId(
const query = encodeFormQuery({
"X-Plex-Client-Identifier": client._options.clientID,
"X-Plex-Client-Identifier": payload.ClientID,
"X-Plex-Device": payload.DeviceName,
"X-Plex-Device": client._options.deviceName,
"X-Plex-Platform": client._options.clientPlatform,
"X-Plex-Device": payload.DeviceName,
"X-Plex-Platform": payload.ClientPlatform,
"X-Plex-Product": payload.ClientName,
"X-Plex-Platform": client._options.clientPlatform,
"X-Plex-Product": client._options.clientName,
"X-Plex-Product": payload.ClientName,
"X-Plex-Version": payload.ClientVersion,
"X-Plex-Version": client._options.clientVersion,
});

View File

@@ -115,7 +115,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
export const SDK_METADATA = {
language: "typescript",
openapiDocVersion: "0.0.3",
sdkVersion: "0.24.0",
sdkVersion: "0.24.1",
genVersion: "2.428.1",
userAgent: "speakeasy-sdk/typescript 0.24.0 2.428.1 0.0.3 @lukehagar/plexjs",
userAgent: "speakeasy-sdk/typescript 0.24.1 2.428.1 0.0.3 @lukehagar/plexjs",
} as const;

View File

@@ -14,9 +14,21 @@ export type GetPinGlobals = {
* The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device)
*/
clientID?: string | undefined;
/**
* The name of the client application. This is used to track the client application and its usage. (Plex Web, Plex Media Server, etc.)
*/
clientName?: string | undefined;
/**
* The name of the device the client application is running on. This is used to track the client application and its usage. (Linux, iOS, Android, etc.)
*/
deviceName?: string | undefined;
/**
* The version of the client application. This is used to track the client application and its usage. (4.133.0, 5.0.0, etc.)
*/
clientVersion?: string | undefined;
/**
* The platform of the client application. This is used to track the client application and its usage. (Chrome, Safari, etc.)
*/
clientPlatform?: string | undefined;
};
@@ -33,9 +45,21 @@ export type GetPinRequest = {
* The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device)
*/
clientID?: string | undefined;
/**
* The name of the client application. This is used to track the client application and its usage. (Plex Web, Plex Media Server, etc.)
*/
clientName?: string | undefined;
/**
* The name of the device the client application is running on. This is used to track the client application and its usage. (Linux, iOS, Android, etc.)
*/
deviceName?: string | undefined;
/**
* The version of the client application. This is used to track the client application and its usage. (4.133.0, 5.0.0, etc.)
*/
clientVersion?: string | undefined;
/**
* The platform of the client application. This is used to track the client application and its usage. (Chrome, Safari, etc.)
*/
clientPlatform?: string | undefined;
};

View File

@@ -14,9 +14,21 @@ export type GetTokenByPinIdGlobals = {
* The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device)
*/
clientID?: string | undefined;
/**
* The name of the client application. This is used to track the client application and its usage. (Plex Web, Plex Media Server, etc.)
*/
clientName?: string | undefined;
/**
* The name of the device the client application is running on. This is used to track the client application and its usage. (Linux, iOS, Android, etc.)
*/
deviceName?: string | undefined;
/**
* The version of the client application. This is used to track the client application and its usage. (4.133.0, 5.0.0, etc.)
*/
clientVersion?: string | undefined;
/**
* The platform of the client application. This is used to track the client application and its usage. (Chrome, Safari, etc.)
*/
clientPlatform?: string | undefined;
};
@@ -29,9 +41,21 @@ export type GetTokenByPinIdRequest = {
* The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device)
*/
clientID?: string | undefined;
/**
* The name of the client application. This is used to track the client application and its usage. (Plex Web, Plex Media Server, etc.)
*/
clientName?: string | undefined;
/**
* The name of the device the client application is running on. This is used to track the client application and its usage. (Linux, iOS, Android, etc.)
*/
deviceName?: string | undefined;
/**
* The version of the client application. This is used to track the client application and its usage. (4.133.0, 5.0.0, etc.)
*/
clientVersion?: string | undefined;
/**
* The platform of the client application. This is used to track the client application and its usage. (Chrome, Safari, etc.)
*/
clientPlatform?: string | undefined;
};

View File

@@ -19,9 +19,21 @@ export type PostUsersSignInDataGlobals = {
* The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device)
*/
clientID?: string | undefined;
/**
* The name of the client application. This is used to track the client application and its usage. (Plex Web, Plex Media Server, etc.)
*/
clientName?: string | undefined;
/**
* The name of the device the client application is running on. This is used to track the client application and its usage. (Linux, iOS, Android, etc.)
*/
deviceName?: string | undefined;
/**
* The version of the client application. This is used to track the client application and its usage. (4.133.0, 5.0.0, etc.)
*/
clientVersion?: string | undefined;
/**
* The platform of the client application. This is used to track the client application and its usage. (Chrome, Safari, etc.)
*/
clientPlatform?: string | undefined;
};
@@ -40,9 +52,21 @@ export type PostUsersSignInDataRequest = {
* The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device)
*/
clientID?: string | undefined;
/**
* The name of the client application. This is used to track the client application and its usage. (Plex Web, Plex Media Server, etc.)
*/
clientName?: string | undefined;
/**
* The name of the device the client application is running on. This is used to track the client application and its usage. (Linux, iOS, Android, etc.)
*/
deviceName?: string | undefined;
/**
* The version of the client application. This is used to track the client application and its usage. (4.133.0, 5.0.0, etc.)
*/
clientVersion?: string | undefined;
/**
* The platform of the client application. This is used to track the client application and its usage. (Chrome, Safari, etc.)
*/
clientPlatform?: string | undefined;
/**
* Login credentials