Documentation ¶
Overview ¶
Package pip defines the Policy Information Point.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultAccountsPIPAdapter ¶
type DefaultAccountsPIPAdapter struct {
// contains filtered or unexported fields
}
DefaultAccountsPIPAdapter is a port to adapt requests related to the Account resource
func ProvideDefaultAccountsPIPAdapter ¶
func ProvideDefaultAccountsPIPAdapter(options DefaultAccountsPIPAdapterOptions) (*DefaultAccountsPIPAdapter, error)
ProvideDefaultAccountsPIPAdapter provides an instance of an DefaultAccountsPIPAdapter
func (DefaultAccountsPIPAdapter) GetAccount ¶
func (d DefaultAccountsPIPAdapter) GetAccount(ctx context.Context, input pdp.GetAccountInput) (*pdp.GetAccountOutput, error)
GetAccount returns data of a given Account
type DefaultAccountsPIPAdapterOptions ¶
type DefaultAccountsPIPAdapterOptions struct { // AccountUseCase defines the management of the Account resource AccountUseCase user.AccountUseCase }
DefaultAccountsPIPAdapterOptions are the set of fields to create an DefaultAccountsPIPAdapter
type DefaultAdminsPIPAdapter ¶
type DefaultAdminsPIPAdapter struct {
// contains filtered or unexported fields
}
DefaultAdminsPIPAdapter is a port to adapt requests related to the Admin resource
func ProvideDefaultAdminsPIPAdapter ¶
func ProvideDefaultAdminsPIPAdapter(options DefaultAdminsPIPAdapterOptions) (*DefaultAdminsPIPAdapter, error)
ProvideDefaultAdminsPIPAdapter provides an instance of an DefaultAdminsPIPAdapter
func (DefaultAdminsPIPAdapter) GetAdminRoles ¶
func (d DefaultAdminsPIPAdapter) GetAdminRoles(ctx context.Context, input pdp.GetAdminRolesInput) (*pdp.GetAdminRolesOutput, error)
GetAdminRoles returns the list of roles assigned to an admin
type DefaultAdminsPIPAdapterOptions ¶
type DefaultAdminsPIPAdapterOptions struct { // AdminUseCase defines the management of Admin in storage AdminUseCase admin.AdminUseCase }
DefaultAdminsPIPAdapterOptions are the set of fields to create an DefaultAdminsPIPAdapter
type DefaultUsersPIPAdapter ¶
type DefaultUsersPIPAdapter struct {
// contains filtered or unexported fields
}
DefaultUsersPIPAdapter is a port to adapt requests related to the User resource
func ProvideDefaultUsersPIPAdapter ¶
func ProvideDefaultUsersPIPAdapter(options DefaultUsersPIPAdapterOptions) (*DefaultUsersPIPAdapter, error)
ProvideDefaultUsersPIPAdapter provides an instance of an DefaultUsersPIPAdapter
func (DefaultUsersPIPAdapter) GetUserRoles ¶
func (d DefaultUsersPIPAdapter) GetUserRoles(ctx context.Context, input pdp.GetUserRolesInput) (*pdp.GetUserRolesOutput, error)
GetUserRoles returns the list of roles assigned to a user
type DefaultUsersPIPAdapterOptions ¶
type DefaultUsersPIPAdapterOptions struct { // UserUseCase defines the management of the User resource UserUseCase user.UserUseCase }
DefaultUsersPIPAdapterOptions are the set of fields to create an DefaultUsersPIPAdapter