Function principal

  • Decorator which injects the current authentication principal as a parameter value.

    Value passed to the method will be an implementation of the Principal interface.

    Parameters

    • classDefinition: Object | Function
    • methodName: string
    • paramIndex: number

    Returns void

Generated using TypeDoc