• Specifies a property of the identity JWT to use in place of sub::username as the value to match against the owner field for authorization.

    Type Parameters

    Parameters

    • this: SELF

      Authorization object to operate against.

    • property: string

      A property of identity JWT.

    Returns Omit<SELF, "identityClaim">

    A copy of the Authorization object with the claim attached.