util

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTenantIDFromRequest

func GetTenantIDFromRequest(e echo.Context) (string, error)

func ReadBody

func ReadBody(ctx echo.Context, body interface{}) error

func ValidateAuthorizationDetails added in v1.2.0

func ValidateAuthorizationDetails(
	authorizationDetails []common.AuthorizationDetails) ([]*oidc4ci.AuthorizationDetails, error)

func WriteOutput

func WriteOutput(ctx echo.Context) func(output interface{}, err error) error

func WriteOutputWithCode added in v1.6.0

func WriteOutputWithCode(code int, ctx echo.Context) func(output interface{}, err error) error

func WriteOutputWithContentType added in v1.3.0

func WriteOutputWithContentType(ctx echo.Context) func(output interface{}, ct string, err error) error

func WriteRawOutputWithContentType added in v1.3.0

func WriteRawOutputWithContentType(ctx echo.Context) func(output []byte, ct string, err error) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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