oauthapp

package
v0.0.0-...-0a5e901 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package oauthapp maintains the web based api for oauth support.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Routes

func Routes(app *web.App, cfg Config)

Routes adds the routes for the auth app.

Types

type Config

type Config struct {
	Auth              *auth.Auth
	Log               *logger.Logger
	TokenKey          string
	GoogleKey         string
	GoogleSecret      string
	GoogleUIURL       string
	GoogleCallBackURL string
	APIHost           string
}

Config contains all the configuration for the auth app.

Jump to

Keyboard shortcuts

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