Full implementation using custom attribute to secure the OAuth2 resource API methods.