consentsapi

package
v0.9.15 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package consentsapi contains a service manages user's remembered consent

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteConsentFactory added in v0.9.2

func DeleteConsentFactory(serv *Service, consentPath string, consentIDUseUUID bool) *handlerfactory.Options

DeleteConsentFactory http handler for "/identity/v1alpha/{realm}/users/{user}/consents/{consent_id}"

func ListConsentsFactory added in v0.9.2

func ListConsentsFactory(serv *Service, consentsPath string) *handlerfactory.Options

ListConsentsFactory http handler for "/identity/v1alpha/{realm}/users/{user}/consents"

Types

type Service added in v0.9.2

type Service struct {
	Store   storage.Store
	Clients func(tx storage.Tx) (map[string]*cpb.Client, error)
}

Service contains store and funcs to access data.

Jump to

Keyboard shortcuts

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