custom_token

command
v0.0.0-...-90bf800 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 20, 2024 License: MIT Imports: 10 Imported by: 0

README

Example demonstrates a possibility to use your own custom token parsing logic for client-side refresh workflow.

In this example we expect a string with user ID I am <ID> from client as token to continue working with it. This is just an example, it's an absolutely insecure approach, never do this in production!

To start an example run the following command from example directory:

go run main.go

Then go to http://localhost:8000 to see it in action.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL