rest

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2025 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Rest

type Rest struct {
	// contains filtered or unexported fields
}

func NewRest

func NewRest(username, password string, isSingleTenant bool) *Rest

func (*Rest) ClientCreate

func (rest *Rest) ClientCreate(ctx context.Context,
	req *connect.Request[oppb.ClientCreateRequest]) (*connect.Response[oppb.ClientCreateResponse], error)

func (*Rest) IssuerCreate

func (rest *Rest) IssuerCreate(ctx context.Context,
	req *connect.Request[oppb.IssuerCreateRequest]) (*connect.Response[oppb.IssuerCreateResponse], error)

func (*Rest) IssuerGet

func (rest *Rest) IssuerGet(ctx context.Context,
	req *connect.Request[oppb.IssuerGetRequest]) (*connect.Response[oppb.IssuerGetResponse], error)

func (*Rest) IssuerUpdate

func (rest *Rest) IssuerUpdate(ctx context.Context,
	req *connect.Request[oppb.IssuerUpdateRequest]) (*connect.Response[oppb.IssuerUpdateResponse], error)

func (*Rest) SessionGroupCreate

func (rest *Rest) SessionGroupCreate(ctx context.Context,
	req *connect.Request[oppb.SessionGroupCreateRequest]) (*connect.Response[oppb.SessionGroupCreateResponse], error)

Jump to

Keyboard shortcuts

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