UNPKG

f5-conx-core

Version:

F5 SDK for JavaScript with Typescript type definitions

46 lines 1.56 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.exampleAuthRespFailed = exports.exampleAuthToken = void 0; /** * example classic tmos auth token */ exports.exampleAuthToken = { "username": "admin", "loginReference": { "link": "https://localhost/mgmt/cm/system/authn/providers/local/login" }, "loginProviderName": "local", "token": { "token": "DMLNFTAP22MN7C737JYB3MSGAS", "name": "DMLNFTAP22MN7C737JYB3MSGAS", "userName": "admin", "authProviderName": "local", "user": { "link": "https://localhost/mgmt/shared/authz/users/admin" }, "groupReferences": [], "timeout": 1200, "startTime": "2020-11-07T11:56:23.498-0600", "address": "192.168.200.20", "partition": "[All]", "generation": 1, "lastUpdateMicros": 1604771783497184, "expirationMicros": 1604772983498000, "kind": "shared:authz:tokens:authtokenitemstate", "selfLink": "https://localhost/mgmt/shared/authz/tokens/DMLNFTAP22MN7C737JYB3MSGAS" }, "generation": 0, "lastUpdateMicros": 0 }; /** * example classic tmos fail auth response */ exports.exampleAuthRespFailed = { code: 401, message: "Authentication failed.", originalRequestBody: "{\"username\":\"admin\",\"loginProviderName\":\"local\",\"generation\":0,\"lastUpdateMicros\":0}", referer: "192.168.200.20", restOperationId: 36136900, kind: ":resterrorresponse", }; //# sourceMappingURL=bigipModels.js.map