nest
    Preparing search index...

    Variable AuthTokenConst

    AuthToken: (...dataOrPipes: any[]) => ParameterDecorator = ...

    Extract the auth-token from the application context request.headers.authorization

     methodName(@AuthToken() token:string){ }
    

    Type Declaration

      • (...dataOrPipes: any[]): ParameterDecorator
      • Parameters

        • ...dataOrPipes: any[]

        Returns ParameterDecorator