Home Manual Reference Source
public class | source

BasicAuth

BasicAuth domain model.

Constructor Summary

Public Constructor
public

constructor(tenantId: string, principal: string, credentials: string)

Member Summary

Public Members
public

The credentials.

public

The principal.

public

The Tenant identifier to create this BasicAuth for.

Public Constructors

public constructor(tenantId: string, principal: string, credentials: string) source

Params:

NameTypeAttributeDescription
tenantId string

The Tenant identifier to create this BasicAuth for.

principal string
  • nullable: true

The principal. If none is given, one is generated.

credentials string
  • nullable: true

The credentials. If none are given, one is generated.

Throw:

Error

tenantId parameter of type "string" is required.

Error

principal parameter of type "string|null" is required.

Error

credentials parameter of type "string|null" is required.

Public Members

public credentials: string source

The credentials. If none are given, one is generated.

public principal: string source

The principal. If none is given, one is generated.

public tenantId: string source

The Tenant identifier to create this BasicAuth for.