• Parameters

    • config: ConfigOptions

    Returns {
        boundDevices: {
            delete: (query: BindingDeviceQuery) => Promise<undefined | Device>;
            get: (query: BindingDeviceQuery) => Promise<undefined | DeviceResponse>;
            update: (query: BindingDeviceQuery) => Promise<undefined | Device>;
        };
        oath: {
            delete: (
                query: DeleteOathQuery & OathDevice,
            ) => Promise<undefined | DeletedOAthDevice>;
            get: (query: RetrieveOathQuery) => Promise<undefined | OAthResponse>;
        };
        push: {
            delete: (query: DeleteDeviceQuery) => Promise<undefined | PushDevice>;
            get: (query: PushDeviceQuery) => Promise<undefined | PushDevicesResponse>;
        };
        webauthn: {
            delete: (
                query: { uuid: string } & WebAuthnQuery & WebAuthnBody,
            ) => Promise<undefined | WebAuthnDevice>;
            get: (
                query: WebAuthnQuery,
            ) => Promise<undefined | WebAuthnDevicesResponse>;
            update: (
                query: { uuid: string } & WebAuthnQuery & WebAuthnBody,
            ) => Promise<undefined | UpdatedWebAuthnDevice>;
        };
    }

    • boundDevices: {
          delete: (query: BindingDeviceQuery) => Promise<undefined | Device>;
          get: (query: BindingDeviceQuery) => Promise<undefined | DeviceResponse>;
          update: (query: BindingDeviceQuery) => Promise<undefined | Device>;
      }

      Bound devices management methods.

      • delete: (query: BindingDeviceQuery) => Promise<undefined | Device>

        Deletes a bound device based on the provided query.

        delete

      • get: (query: BindingDeviceQuery) => Promise<undefined | DeviceResponse>

        Retrieves bound devices based on the specified query.

        get

      • update: (query: BindingDeviceQuery) => Promise<undefined | Device>

        Updates the name of a bound device based on the provided query.

        update

    • oath: {
          delete: (
              query: DeleteOathQuery & OathDevice,
          ) => Promise<undefined | DeletedOAthDevice>;
          get: (query: RetrieveOathQuery) => Promise<undefined | OAthResponse>;
      }

      Oath device management methods.

      • delete: (query: DeleteOathQuery & OathDevice) => Promise<undefined | DeletedOAthDevice>

        Deletes an Oath device based on the provided query and device information.

        delete

      • get: (query: RetrieveOathQuery) => Promise<undefined | OAthResponse>

        Retrieves Oath devices based on the specified query.

        get

    • push: {
          delete: (query: DeleteDeviceQuery) => Promise<undefined | PushDevice>;
          get: (query: PushDeviceQuery) => Promise<undefined | PushDevicesResponse>;
      }

      Push device management methods.

      • delete: (query: DeleteDeviceQuery) => Promise<undefined | PushDevice>

        Deletes a Push device based on the provided query.

        delete

      • get: (query: PushDeviceQuery) => Promise<undefined | PushDevicesResponse>

        Retrieves Push devices based on the specified query.

        get

    • webauthn: {
          delete: (
              query: { uuid: string } & WebAuthnQuery & WebAuthnBody,
          ) => Promise<undefined | WebAuthnDevice>;
          get: (query: WebAuthnQuery) => Promise<undefined | WebAuthnDevicesResponse>;
          update: (
              query: { uuid: string } & WebAuthnQuery & WebAuthnBody,
          ) => Promise<undefined | UpdatedWebAuthnDevice>;
      }

      WebAuthn device management methods.

      • delete: (
            query: { uuid: string } & WebAuthnQuery & WebAuthnBody,
        ) => Promise<undefined | WebAuthnDevice>

        Deletes a WebAuthn device based on the provided query and body.

        delete

      • get: (query: WebAuthnQuery) => Promise<undefined | WebAuthnDevicesResponse>

        Retrieves WebAuthn devices based on the specified query.

        get

      • update: (
            query: { uuid: string } & WebAuthnQuery & WebAuthnBody,
        ) => Promise<undefined | UpdatedWebAuthnDevice>

        Updates the name of a WebAuthn device based on the provided query and body.

        update