mirror of
https://github.com/absmach/supermq.git
synced 2026-06-23 04:20:17 +00:00
7066101996
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
46 lines
616 B
Go
46 lines
616 B
Go
// Copyright (c) Magistrala
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package grpc
|
|
|
|
type identityRes struct {
|
|
id string
|
|
}
|
|
|
|
type issueRes struct {
|
|
accessToken string
|
|
refreshToken string
|
|
accessType string
|
|
}
|
|
|
|
type authorizeRes struct {
|
|
id string
|
|
authorized bool
|
|
}
|
|
|
|
type addPolicyRes struct {
|
|
authorized bool
|
|
}
|
|
|
|
type deletePolicyRes struct {
|
|
deleted bool
|
|
}
|
|
|
|
type listObjectsRes struct {
|
|
policies []string
|
|
nextPageToken string
|
|
}
|
|
|
|
type countObjectsRes struct {
|
|
count int
|
|
}
|
|
|
|
type listSubjectsRes struct {
|
|
policies []string
|
|
nextPageToken string
|
|
}
|
|
|
|
type countSubjectsRes struct {
|
|
count int
|
|
}
|