Hierarchy

  • default
    • Keys

Constructors

Methods

Constructors

  • Example

    const OneBlink = require('@oneblink/sdk')

    const options = {
    accessKey: '123455678901ABCDEFGHIJKL',
    secretKey: '123455678901ABCDEFGHIJKL123455678901ABCDEFGHIJKL',
    }
    const keys = new OneBlink.Keys(options)

    Parameters

    Returns Keys

Methods

  • Example

    const keyId = '123455678901ABCDEFGHIJKL'
    keys.getKey(keyId).then((key) => {
    // Use key here...
    })

    Parameters

    • keyId: string

      The exact id of the key you wish to get

    Returns Promise<Key>