auth
auth/context.go
Update package name. We've renamed the package to auth, so we may as well update the package name in all our files.
1 package auth
3 import "io"
5 type Context struct {
6 Config ServerConfig
7 Clients ClientStore
8 Tokens TokenStore
9 Profiles ProfileStore
10 }
12 func (c Context) RenderError(w io.Writer, err error) {
13 }
15 func (c Context) RenderJSONError(w io.Writer, code, description, baseURI string) {
16 }
18 func (c Context) RenderConfirmation(w io.Writer) {
19 }
21 func (c Context) RenderLogin(w io.Writer) {
22 }
24 func (c Context) RenderJSONToken(w io.Writer, data AccessData) {
25 }