modulepackage
1.0.2
Repository: https://github.com/batpool/gin-github-sso.git
Documentation: pkg.go.dev
# Functions
Router middleware that can be used to get an authenticated and authorized service for the whole router group.
AuthChain is a router middleware that can be used to get an authenticated and authorized service for the whole router group.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RequestLogger is a middleware that logs all the request and prints relevant information.
# Variables
AuthInfoURL is the URL to get information of your token.
Transport to use for client http connections to AuthInfoURL.
VarianceTimer controls the max runtime of Auth() and AuthChain() middleware.
# Structs
No description provided by the author
TokenContainer stores all relevant token information.
# Type aliases
AccessCheckFunction is a function that checks if a given token grants access.