package
0.0.0-20211229003640-7ee9cf0d2f12
Repository: https://github.com/truggeri/oauth-debugger.git
Documentation: pkg.go.dev

# Functions

AddSecurityHeaders adds basic security headers to the response.
Authorize Displays user form to log in and authorize the requesting client.
CodeGrant Creates a new user and returns the redirect associated with the client.
CreateClient Creates a new client to be used with the app.
Info Given an auth token, returns user information.
OnlyAllow Blocks handler from executing if request doesn't match method.
No description provided by the author
No description provided by the author
No description provided by the author
RandomString gives a random string of n runes.
RequireBearer Enforces that authorization header with bearer token is present.
No description provided by the author
No description provided by the author
Token Returns authorization token and user info.
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Structs

Client representation of a client.
Code representation of a code.
No description provided by the author
No description provided by the author

# Type aliases

A Handler is a type that handles an http request within our own little mini framework.
Middleware is a function designed to run some code before and/or after another Handler.