pro

package
v0.0.0-...-f28940e Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckURL

func CheckURL(urls []string, allowDirect bool) error

URLが正しいかチェックする

func DeleteService

func DeleteService(w http.ResponseWriter, r *http.Request) error

func GetSSOServices

func GetSSOServices(w http.ResponseWriter, r *http.Request) error

func SetImage

func SetImage(w http.ResponseWriter, r *http.Request) error

sso serviceの画像をセットする

func SetService

func SetService(w http.ResponseWriter, r *http.Request) error

Types

type SSOService

type SSOService struct {
	LoginCount int `json:"login_count"`

	models.SSOService
}

type SetRequest

type SetRequest struct {
	ClientId string `json:"client_id"` // optional

	Name string `json:"name"`

	FromURL []string `json:"from_url"`
	ToURL   []string `json:"to_url"`

	AllowRoles []string `json:"allow_roles"`

	ChangeTokenSecert bool `json:"change_token_secret"`
}

Jump to

Keyboard shortcuts

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