Secures an API access checking AccessToken header to authentica a user