credentials

package
v0.0.0-...-9fd10f7 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrGrpcOauth2UnableToIdentify

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

func NewErrGrpcOauth2UnableToIdentify

func NewErrGrpcOauth2UnableToIdentify(msg string, err error) *ErrGrpcOauth2UnableToIdentify

func (*ErrGrpcOauth2UnableToIdentify) Error

func (*ErrGrpcOauth2UnableToIdentify) Unwrap

type ErrWebOauth2UnableToIdentify

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

func NewErrWebOauth2UnableToIdentify

func NewErrWebOauth2UnableToIdentify(msg string, err error) *ErrWebOauth2UnableToIdentify

func (*ErrWebOauth2UnableToIdentify) Error

func (*ErrWebOauth2UnableToIdentify) Unwrap

func (e *ErrWebOauth2UnableToIdentify) Unwrap() error

type GrpcOauth2Credentials

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

func (*GrpcOauth2Credentials) GetRequestMetadata

func (c *GrpcOauth2Credentials) GetRequestMetadata(ctx context.Context, uri ...string) (map[string]string, error)

func (*GrpcOauth2Credentials) Inject

func (c *GrpcOauth2Credentials) Inject(identifier *grpc.IdentityService)

func (*GrpcOauth2Credentials) RequireTransportSecurity

func (*GrpcOauth2Credentials) RequireTransportSecurity() bool

type Oauth2Credentials

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

func (*Oauth2Credentials) GetRequestMetadata

func (c *Oauth2Credentials) GetRequestMetadata(ctx context.Context, uri ...string) (map[string]string, error)

func (*Oauth2Credentials) Inject

func (c *Oauth2Credentials) Inject(identifier *auth.WebIdentityService, grpcIdentifier *grpc.IdentityService)

func (*Oauth2Credentials) RequireTransportSecurity

func (*Oauth2Credentials) RequireTransportSecurity() bool

type WebOauth2Credentials

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

func (*WebOauth2Credentials) GetRequestMetadata

func (c *WebOauth2Credentials) GetRequestMetadata(ctx context.Context, uri ...string) (map[string]string, error)

func (*WebOauth2Credentials) Inject

func (c *WebOauth2Credentials) Inject(identifier *auth.WebIdentityService)

func (*WebOauth2Credentials) RequireTransportSecurity

func (*WebOauth2Credentials) RequireTransportSecurity() bool

Jump to

Keyboard shortcuts

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