auth

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

+gengo:operator:register=R +gengo:operator:tag=auth

Package auth GENERATED BY gengo:operator DON'T EDIT THIS FILE

Package auth GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Authorize

type Authorize struct {
	courierhttp.MethodGet `path:"/auth-providers/:name/authorize"`
	ProviderName          string `name:"name" in:"path"`
	State                 string `name:"state,omitempty" in:"query"`
}

func (*Authorize) Output

func (a *Authorize) Output(ctx context.Context) (any, error)

func (*Authorize) ResponseErrors

func (*Authorize) ResponseErrors() []error

func (Authorize) RuntimeDoc

func (v Authorize) RuntimeDoc(names ...string) ([]string, bool)

type ExchangeToken

type ExchangeToken struct {
	courierhttp.MethodPost `path:"/auth-providers/:name/token"`
	AuthProviderName       string `name:"name" in:"path"`
	ExchangeTokenData      `in:"body"`
}

func (*ExchangeToken) Output

func (a *ExchangeToken) Output(ctx context.Context) (any, error)

func (*ExchangeToken) ResponseContent

func (*ExchangeToken) ResponseContent() any

func (ExchangeToken) RuntimeDoc

func (v ExchangeToken) RuntimeDoc(names ...string) ([]string, bool)

type ExchangeTokenData

type ExchangeTokenData struct {
	Code string `json:"code"`
}

func (ExchangeTokenData) RuntimeDoc

func (v ExchangeTokenData) RuntimeDoc(names ...string) ([]string, bool)

type ListAuthProvider

type ListAuthProvider struct {
	courierhttp.MethodGet `path:"/auth-providers"`
}

func (*ListAuthProvider) Output

func (p *ListAuthProvider) Output(ctx context.Context) (any, error)

func (*ListAuthProvider) ResponseContent

func (*ListAuthProvider) ResponseContent() any

func (ListAuthProvider) RuntimeDoc

func (v ListAuthProvider) RuntimeDoc(names ...string) ([]string, bool)

Directories

Path Synopsis
Package operator GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE
Package operator GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE

Jump to

Keyboard shortcuts

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