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 ¶
Impl is an implementation of the AuthEnv interface
func New ¶
func New(pc profilepb.ProfileServiceClient, oc profilepb.OrgServiceClient) (*Impl, error)
New creates a new auth authenv.
func NewWithDefaults ¶
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.
Click to show internal directories.
Click to hide internal directories.