Files
supermq/auth/api/grpc/responses.go
T
2023-10-26 12:50:56 +02:00

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
}