Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Setup ¶
Setup the OAuth2 server in the same server that is serving the API In a real world scenario, this would be a separate server so that /authorize and /token are in the auth server and validation is in the API/resource server Please note that /credentials is a stub for generating client credentials and should not be used in production
Types ¶
Click to show internal directories.
Click to hide internal directories.