pkg

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsentPostRequest

type ConsentPostRequest struct {
	Issuer               string                    `json:"oidc_iss"`
	Restrictions         restrictions.Restrictions `json:"restrictions"`
	Capabilities         api.Capabilities          `json:"capabilities"`
	SubtokenCapabilities api.Capabilities          `json:"subtoken_capabilities"`
}

ConsentPostRequest holds the post request for confirming consent

type WebCapability

type WebCapability struct {
	api.Capability
	// contains filtered or unexported fields
}

func WebCapabilities

func WebCapabilities(cc api.Capabilities) (wc []WebCapability)

func (WebCapability) CapabilityLevel

func (c WebCapability) CapabilityLevel() string

func (WebCapability) ColorClass

func (c WebCapability) ColorClass() string

func (WebCapability) IsCreateMT

func (c WebCapability) IsCreateMT() bool

type WebRestrictions

type WebRestrictions struct {
	restrictions.Restrictions
	// contains filtered or unexported fields
}

func (WebRestrictions) ScopeColorClass

func (r WebRestrictions) ScopeColorClass() string

func (WebRestrictions) ScopeDescription

func (r WebRestrictions) ScopeDescription() string

func (WebRestrictions) Text

func (r WebRestrictions) Text() string

func (WebRestrictions) TimeColorClass

func (r WebRestrictions) TimeColorClass() string

func (WebRestrictions) TimeDescription

func (r WebRestrictions) TimeDescription() string

Jump to

Keyboard shortcuts

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