Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Name

Example

Description

token

MIICXQI...xf5f0kLx

The actual access to use for authorizing future requests.

The value is an opaque string and should not be interpreted as the specified format might change.

This is the only time this is returned and there is not way to get it again if lost.

id

43505

A numeric id for this access key. Can be used to get information about this access key, such as which user it is authorizing.

publicKey

MIGJA...AAE=

A public key generated from the token.

expiration

2023-07-11T05:12:48.2628119+00:00

A timestamp for when this key will stop working.

member

Information about the user this key is authorizing, such as who they are and what their roles are.

languageId

3

The id of the language this access key is authorized with.

configVersionId

/0/

The config version this access key is using if hitting Search2.

firstVersion

false

If the access key uses the specified configVersionId only when looking for implementation of searches (true) or if Search2 can look in child config versions (false).

Minimal example request

Code Block
languagenone
POST https://<my-dam>/digizuitecore/loginservice/api/access-key
Content-Type: application/json

{
  "username": "lightuser",
  "password": "test",
  "passwordEncoding": "Plaintext"
}

Full example request

Code Block
POST https://<my-dam>/digizuitecore/loginservice/api/access-key
Content-Type: application/json

{
  "username": "lightuser",
  "password": "test",
  "passwordEncoding": "Plaintext",
  "options": {
    "configId": "/0/",
    "languageId": 3,
    "persistLanguage": false,
    "duration": "7.00:00:00"
  }
}

...