Function buildClaim

  • creates a new Claim object with the info given

    it validates the verb is one of the valid verbs

    Parameters

    • stringOrObject: string | IClaimData | Claim

      can be a string ("verb:resource" or "verb:*") or an object with verb and resource

    Returns Claim

    See

    • ALLOWED_VERBS
    • Claim

Generated using TypeDoc