Search and commands

↑ ↓ to select · Enter to open · Esc to close

Type to search packages.

credentials

v0.0.0-20221109163355-9fd10f757f75
flamingo.me/grpc/credentials

Documentation

pkg.go.dev ↗

Table of contents

↓ to select · Enter to jump· Shift+Enter for source

21 matches

Top ↑

Types

ErrGrpcOauth2UnableToIdentify

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

NewErrGrpcOauth2UnableToIdentify

func NewErrGrpcOauth2UnableToIdentify(msg string, err error) *ErrGrpcOauth2UnableToIdentify

ErrGrpcOauth2UnableToIdentify.Error

func (e *ErrGrpcOauth2UnableToIdentify) Error() string

ErrGrpcOauth2UnableToIdentify.Unwrap

func (e *ErrGrpcOauth2UnableToIdentify) Unwrap() error

ErrWebOauth2UnableToIdentify

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

NewErrWebOauth2UnableToIdentify

func NewErrWebOauth2UnableToIdentify(msg string, err error) *ErrWebOauth2UnableToIdentify

ErrWebOauth2UnableToIdentify.Error

func (e *ErrWebOauth2UnableToIdentify) Error() string

ErrWebOauth2UnableToIdentify.Unwrap

func (e *ErrWebOauth2UnableToIdentify) Unwrap() error

GrpcOauth2Credentials

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

GrpcOauth2Credentials.GetRequestMetadata

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

GrpcOauth2Credentials.Inject

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

GrpcOauth2Credentials.RequireTransportSecurity

func (*GrpcOauth2Credentials) RequireTransportSecurity() bool

Oauth2Credentials

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

Oauth2Credentials.GetRequestMetadata

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

Oauth2Credentials.Inject

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

Oauth2Credentials.RequireTransportSecurity

func (*Oauth2Credentials) RequireTransportSecurity() bool

WebOauth2Credentials

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

WebOauth2Credentials.GetRequestMetadata

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

WebOauth2Credentials.Inject

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

WebOauth2Credentials.RequireTransportSecurity

func (*WebOauth2Credentials) RequireTransportSecurity() bool

Dependency graph