Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace Identity

A container object for identity attributes.

Properties

Optional authType

authType: undefined | string

The type of authentication used.

Example: {@code natv}

Optional callerId

callerId: undefined | string

The OCID of the caller. The caller that made a request on behalf of the prinicpal.

Optional callerName

callerName: undefined | string

The name of the user or service. This value is the friendly name associated with {@code callerId}.

Optional consoleSessionId

consoleSessionId: undefined | string

This value identifies any Console session associated with this request.

Optional credentials

credentials: undefined | string

The credential ID of the user. This value is extracted from the HTTP 'Authorization' request header. It consists of the tenantId, userId, and user fingerprint, all delimited by a slash (/).

Optional ipAddress

ipAddress: undefined | string

The IP address of the source of the request.

Example: {@code 172.24.80.88}

Optional principalId

principalId: undefined | string

The OCID of the principal.

Optional principalName

principalName: undefined | string

The name of the user or service. This value is the friendly name associated with {@code principalId}.

Example: {@code ExampleName}

Optional tenantId

tenantId: undefined | string

The OCID of the tenant.

Optional userAgent

userAgent: undefined | string

The user agent of the client that made the request.

Example: {@code Jersey/2.23 (HttpUrlConnection 1.8.0_212)}

Functions

getDeserializedJsonObj

  • getDeserializedJsonObj(obj: Identity): object

getJsonObj