IBM interview question

1) Write down the code for an interceptor and auth guards.