Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RegistrationApi

RegistrationApi - object-oriented interface

export
class

RegistrationApi

extends

{BaseAPI}

Hierarchy

Index

Constructors

constructor

Methods

deleteRegistration

  • deleteRegistration(options?: any): Promise<Response>
  • api.resource.registration.deleteRegistration.description

    summary

    Delete the user context for the current token.

    throws

    {RequiredError}

    memberof

    RegistrationApi

    Parameters

    • Optional options: any

    Returns Promise<Response>

getJsonWebKey

  • A valid API public key will be returned in JWK format to be used to encrypt registration data. Only needed with extended encryption.

    summary

    Request API JWK public key

    throws

    {RequiredError}

    memberof

    RegistrationApi

    Parameters

    • Optional options: any

    Returns Promise<JwkJwkPublicKey>

getRegistrationPublicKey

  • A valid API public key will be returned to be used to encrypt registration data. Only needed with extended encryption.

    summary

    Request API public key

    throws

    {RequiredError}

    memberof

    RegistrationApi

    Parameters

    • Optional options: any

    Returns Promise<RegistrationPublicKey>

register

  • Registers a user with AHOI

    summary

    User registration

    throws

    {RequiredError}

    memberof

    RegistrationApi

    Parameters

    • Optional options: any

    Returns Promise<RegistrationResponse>