AWS API Gateway & authorization

Hi,
I have used successfully the Authorizer sample ( Secure AWS API Gateway Endpoints Using Custom Authorizers (auth0.com) ) for AWS API Gateway. The next step is to add authorization to the API based on permissions.
what is the suggested way to implement it?
Is there any sample code I can look at?

Thanks,
Ronen