authenv

package
v0.0.0-...-8540621 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthEnv

type AuthEnv interface {
	env.Env
	ProfileClient() profilepb.ProfileServiceClient
	OrgClient() profilepb.OrgServiceClient
}

AuthEnv is the authenv use for the Authentication service.

type Impl

type Impl struct {
	*env.BaseEnv
	// contains filtered or unexported fields
}

Impl is an implementation of the AuthEnv interface

func New

New creates a new auth authenv.

func NewWithDefaults

func NewWithDefaults() (*Impl, error)

NewWithDefaults creates a new auth authenv with defaults.

func (*Impl) OrgClient

func (e *Impl) OrgClient() profilepb.OrgServiceClient

OrgClient returns the authenv's org client.

func (*Impl) ProfileClient

func (e *Impl) ProfileClient() profilepb.ProfileServiceClient

ProfileClient returns the authenv's profile client.

Jump to

Keyboard shortcuts

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