oauthserver

package
v0.0.0-...-daf4bef Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

GENERATED DO NOT EDIT GENERATOR: scripts/gencode/gencode.go ARGUMENTS: --component server --config ../../../../config/api.oauth.yml --package oauthserver --out-dir . --out ./oauthserver.gen.go --model-package github.com/adamlouis/squirrelbyte/server/pkg/model/oauthmodel

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterRouter

func RegisterRouter(apiHandler APIHandler, r *mux.Router, c ErrorCoder)

Types

type CommitFn

type CommitFn func() error

type ErrorCoder

type ErrorCoder func(e error) int

type HTTPHandler

type HTTPHandler interface {
	ListProviders(w http.ResponseWriter, req *http.Request)
	GetOAuthAuthorizationURL(w http.ResponseWriter, req *http.Request)
	GetOAuthToken(w http.ResponseWriter, req *http.Request)
	GetOAuthConfig(w http.ResponseWriter, req *http.Request)
	PutOAuthConfig(w http.ResponseWriter, req *http.Request)
	DeleteOAuthConfig(w http.ResponseWriter, req *http.Request)
}

type RollbackFn

type RollbackFn func() error

Jump to

Keyboard shortcuts

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