api

package
v3.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BothAuthServiceClient

type BothAuthServiceClient interface {
	Default(ctx context.Context, authHeader bearertoken.Token) (string, error)
	Cookie(ctx context.Context, cookieToken bearertoken.Token) error
	None(ctx context.Context) error
	WithArg(ctx context.Context, authHeader bearertoken.Token, argArg string) error
}

func NewBothAuthServiceClient

func NewBothAuthServiceClient(client httpclient.Client) BothAuthServiceClient

type BothAuthServiceClientWithAuth

type BothAuthServiceClientWithAuth interface {
	Default(ctx context.Context) (string, error)
	Cookie(ctx context.Context) error
	None(ctx context.Context) error
	WithArg(ctx context.Context, argArg string) error
}

func NewBothAuthServiceClientWithAuth

func NewBothAuthServiceClientWithAuth(client BothAuthServiceClient, authHeader bearertoken.Token, cookieToken bearertoken.Token) BothAuthServiceClientWithAuth

type CookieAuthServiceClient

type CookieAuthServiceClient interface {
	Cookie(ctx context.Context, cookieToken bearertoken.Token) error
}

func NewCookieAuthServiceClient

func NewCookieAuthServiceClient(client httpclient.Client) CookieAuthServiceClient

type CookieAuthServiceClientWithAuth

type CookieAuthServiceClientWithAuth interface {
	Cookie(ctx context.Context) error
}

func NewCookieAuthServiceClientWithAuth

func NewCookieAuthServiceClientWithAuth(client CookieAuthServiceClient, cookieToken bearertoken.Token) CookieAuthServiceClientWithAuth

type HeaderAuthServiceClient

type HeaderAuthServiceClient interface {
	Default(ctx context.Context, authHeader bearertoken.Token) (string, error)
}

func NewHeaderAuthServiceClient

func NewHeaderAuthServiceClient(client httpclient.Client) HeaderAuthServiceClient

type HeaderAuthServiceClientWithAuth

type HeaderAuthServiceClientWithAuth interface {
	Default(ctx context.Context) (string, error)
}

func NewHeaderAuthServiceClientWithAuth

func NewHeaderAuthServiceClientWithAuth(client HeaderAuthServiceClient, authHeader bearertoken.Token) HeaderAuthServiceClientWithAuth

Jump to

Keyboard shortcuts

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