authnv1client

package
v0.3.85 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IntoContext

func IntoContext(ctx context.Context, client *Client) context.Context

IntoContext returns a child context with the Client within.

Types

type Client

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

...

func FromContext

func FromContext(ctx context.Context) (*Client, error)

FromContext retrieves a Client from the given context.

func New

func New(baseURL string) (*Client, error)

...

func (*Client) Login

func (c *Client) Login(ctx context.Context, id, secret string) (string, error)

...

Jump to

Keyboard shortcuts

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