This repository has been archived on 2023-11-13. You can view files and clone it, but cannot push or open issues or pull requests.
imagini/graph/model/models_auth.go

14 lines
190 B
Go
Raw Permalink Normal View History

2021-02-11 20:47:42 +00:00
package model
import (
"net/http"
"github.com/lestrrat-go/jwx/jwt"
)
type AuthContext struct {
AccessToken *jwt.Token
AuthResponse *http.ResponseWriter
AuthRequest *http.Request
}