Home Schema Example JSON Schema

Provider Input


Provider inputs are used by Heimdall login frontends for provider specific input values. These are usually things like access tokens and secret credentials generated by the authentication provider.

No Additional Properties

Type: object

The following properties are required:

  • access_token
Type: object

The following properties are required:

  • jwt
Type: object

The following properties are required:

  • session
Type: object

The following properties are required:

  • token
Type: object

The following properties are required:

  • maxicare_card_no
  • maxicare_clinic_domain
  • maxicare_dob
Type: object

The following properties are required:

  • native_session
  • web_session
Type: object

The following properties are required:

  • identifiable_information
Type: object

The following properties are required:

  • sgid_session
Type: object

The following properties are required:

  • sgid_authorize
Type: object

The following properties are required:

  • chemocalc_nric

Access Token

Type: string

Access tokens are usually generated by third party services which the backend can use to authenticate. This is used by Auth0Provider and PublicServiceProvider.

Must be at least 1 characters long

QRCodeProvider: Native Session

Type: string

The current session token held by the native device. This is used by QRCodeProvider.

Must be at least 32 characters long

QRCodeProvider: Web Session

Type: string

The pre-generated session token requested by the web device. This is usually enccoded within the QR code and generated by the web client. This is used by QRCodeProvider.

Must be at least 32 characters long

JWT

Type: string

JWT tokens are usually generated by third party services which the backend can use to authenticate. This is used by LegacyJWTProvider.

Must be at least 1 characters long

Session

Type: string

A valid Heimdal session UID often used for session exchange. This is used by CleoClinicianProvider.

Must be at least 32 characters long

SGID Authorize

Type: boolean

Authorize against SGIDProvider instead of application. This is used by SGIDProvider.

Sgid Session

Type: string

A valid Heimdall session UID with scoope sgid used for session exchange.

Must be at least 32 characters long

Chemocalc NRIC

Type: string

NRIC that is used by ChemocalcHeimdallProvider.

Must be at least 1 characters long

Maxicare Card No

Type: string

Maxicare Card No that is used by MaxicareHeimdallProvider

Must be at least 1 characters long

Maxicare clinic domain

Type: string

Maxicare clinc domain that is used by MaxicareHeimdallProvider

Must be at least 1 characters long

Maxicare Member DOB

Type: stringFormat: date

Maxicare's member DOB for verification

Token

Type: string

Tokens are usually generated by third party services which the backend can use to authenticate. This is used by InternalServiceProvider and CleoPatientProvider.

Must be at least 1 characters long

Identifiable Information

Type: object

Identifiable information for OTPProvider to verify OTP.

No Additional Properties

Type: object

The following properties are required:

  • type
  • value
Type: object

The following properties are required:

  • phone
Type: object

The following properties are required:

  • email
Type: object

The following properties are required:

  • whatsapp
Type: object

The following properties are required:

  • governess_user_uid
Type: object

The following properties are required:

  • hospital_profile_uid

Type

Type: enum (of string)

The identifiable information type.

Must be one of:

  • "phone"
  • "email"
  • "whatsapp"
  • "governess_user_uid"
  • "hospital_profile_uid"

Value

Type: string

The identifiable information value.

Must be at least 1 characters long

Phone

Type: string

Phone number in E.164 format.

Must match regular expression: ^\+\d{5,}$

Email


Email address.

Type: objectFormat: email
Type: objectFormat: idn-email

WhatsApp

Type: string

WhatsApp phone number in E.164 format.

Must match regular expression: ^\+\d{5,}$

Governess User UID

Type: string

UID of Governess user.

Must match regular expression: ^[a-zA-Z0-9]{16,}$

Hospital Profile UID

Type: string

UID of Hospital profile.

Must match regular expression: ^[a-zA-Z0-9]{16,}$