Options
All
  • Public
  • Public/Protected
  • All
Menu

Class OAuthAuthorizeRequest

description

This class defines the requirements for HTTP requests that must include a dhealthAddress in the query.

We enforce the presence of fields in this request class using nestjs' Query guard that will automatically fail when the challenge is not present or invalid.

since

v0.3.0

Hierarchy

  • OAuthAuthorizeRequest

Index

Constructors

Properties

Constructors

Properties

dhealthAddress: string

The Address of the account on dHealth Network. This field will be validated to hold the same value as the one of the currently authenticated user (signed cookie). i.e. this should be an authenticated end-user's address on dHealth Network.

This field is required in /oauth/:provider requests.

access

public

var

{string}

ref?: string

The referral code in the context of users invitations. This code is typically attached to another end-user whom is then considered the referrer.

This field is optional in /oauth/:provider requests.

access

public

var

{string}

Generated using TypeDoc