Documentation ¶
Index ¶
- func Service(credentials *settings.Credentials) settings.CRUDService[*permissions.Permission]
- type GetGroupPermissionsResponse
- type PermissionServiceClient
- func (me *PermissionServiceClient) AccountID() string
- func (me *PermissionServiceClient) ClientID() string
- func (me *PermissionServiceClient) ClientSecret() string
- func (me *PermissionServiceClient) Create(ctx context.Context, permission *permissions.Permission) (*api.Stub, error)
- func (me *PermissionServiceClient) Delete(ctx context.Context, id string) error
- func (me *PermissionServiceClient) EndpointURL() string
- func (me *PermissionServiceClient) Get(ctx context.Context, id string, v *permissions.Permission) error
- func (me *PermissionServiceClient) List(ctx context.Context) (api.Stubs, error)
- func (me *PermissionServiceClient) Name() string
- func (me *PermissionServiceClient) SchemaID() string
- func (me *PermissionServiceClient) TokenURL() string
- func (me *PermissionServiceClient) Update(ctx context.Context, email string, permission *permissions.Permission) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Service ¶
func Service(credentials *settings.Credentials) settings.CRUDService[*permissions.Permission]
Types ¶
type GetGroupPermissionsResponse ¶
type GetGroupPermissionsResponse struct {
Permissions []*permissions.PermissionDTO
}
type PermissionServiceClient ¶
type PermissionServiceClient struct {
// contains filtered or unexported fields
}
func NewPermissionService ¶
func (*PermissionServiceClient) AccountID ¶
func (me *PermissionServiceClient) AccountID() string
func (*PermissionServiceClient) ClientID ¶
func (me *PermissionServiceClient) ClientID() string
func (*PermissionServiceClient) ClientSecret ¶
func (me *PermissionServiceClient) ClientSecret() string
func (*PermissionServiceClient) Create ¶
func (me *PermissionServiceClient) Create(ctx context.Context, permission *permissions.Permission) (*api.Stub, error)
func (*PermissionServiceClient) Delete ¶
func (me *PermissionServiceClient) Delete(ctx context.Context, id string) error
func (*PermissionServiceClient) EndpointURL ¶ added in v1.67.0
func (me *PermissionServiceClient) EndpointURL() string
func (*PermissionServiceClient) Get ¶
func (me *PermissionServiceClient) Get(ctx context.Context, id string, v *permissions.Permission) error
func (*PermissionServiceClient) Name ¶ added in v1.28.0
func (me *PermissionServiceClient) Name() string
func (*PermissionServiceClient) SchemaID ¶
func (me *PermissionServiceClient) SchemaID() string
func (*PermissionServiceClient) TokenURL ¶ added in v1.67.0
func (me *PermissionServiceClient) TokenURL() string
func (*PermissionServiceClient) Update ¶
func (me *PermissionServiceClient) Update(ctx context.Context, email string, permission *permissions.Permission) error
Click to show internal directories.
Click to hide internal directories.