fc

package
v0.0.0-...-a915469 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2022 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotFound           = errors.New("not found")
	ErrNotOKStatus        = errors.New("got non 200 status response")
	ErrHomeServerNotFound = errors.New("home server not found")
)

Functions

This section is empty.

Types

type Client

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

func New

func New(cacher cache.Cache, httpClient *http.Client) *Client

func (*Client) OpenidUserinfo

func (c *Client) OpenidUserinfo(ctx context.Context, matrixServer, accessToken string) (*openidUserinfo, error)

Jump to

Keyboard shortcuts

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