Options
All
  • Public
  • Public/Protected
  • All
Menu
description

A DTO class that consists of an authentication challenge.

  • The end-user includes this challenge in a transfer transaction to the dApp's authentication authority address.
  • The dApp's processor scope catches these challenges on-chain and processes them.
  • Frontends will receive a cookie that contains a OAuth-alike "accessToken" and "refreshToken". The access token is short- lived and the refresh token can used to refresh the currently used access token whenever it expires.
since

v0.3.0

Hierarchy

Index

Constructors

Properties

Constructors

Properties

challenge: string

The authentication challenge that can be used to authenticate a user to the dApp. This challenge must be included in a transaction on dHealth Network such that an end-user can be considered logged-in.

access

public

var

{string}

Generated using TypeDoc