mirror of
https://github.com/mainflux/mainflux.git
synced 2025-04-28 13:48:49 +08:00

* Remove auth URL from SDK Signed-off-by: Filip Bugarski <filipbugarski@gmail.com> * Update CLi/main.go authURL to GroupsURL Signed-off-by: Filip Bugarski <filipbugarski@gmail.com> * Add authURL back Signed-off-by: Filip Bugarski <filipbugarski@gmail.com> * Refactor group structures Signed-off-by: Filip Bugarski <filipbugarski@gmail.com> * Add AuthURL back to cli/main.go Signed-off-by: Filip Bugarski <filipbugarski@gmail.com>
22 lines
556 B
Go
22 lines
556 B
Go
// Copyright (c) Mainflux
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package sdk
|
|
|
|
type assignRequest struct {
|
|
Type string `json:"type,omitempty"`
|
|
Members []string `json:"members"`
|
|
}
|
|
|
|
// UserPasswordReq contains old and new passwords
|
|
type UserPasswordReq struct {
|
|
OldPassword string `json:"old_password,omitempty"`
|
|
Password string `json:"password,omitempty"`
|
|
}
|
|
|
|
// ConnectionIDs contains ID lists of things and channels to be connected
|
|
type ConnectionIDs struct {
|
|
ChannelIDs []string `json:"channel_ids"`
|
|
ThingIDs []string `json:"thing_ids"`
|
|
}
|