mirror of
https://github.com/absmach/supermq.git
synced 2026-06-23 04:20:17 +00:00
a0c40ba462
* chore(license): update copyright notices Add CI check for non go files to check that the files contain a license Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com> * fix(ci): log failed files When the CI fails during check for license header, log the failed file to console so that someone can check on the actual file. Also simplify the grep check to make it more human readable and understandable Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com> --------- Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>
55 lines
760 B
Go
55 lines
760 B
Go
// Copyright (c) Abstract Machines
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package grpc
|
|
|
|
type identityRes struct {
|
|
id string
|
|
userID string
|
|
domainID string
|
|
}
|
|
|
|
type issueRes struct {
|
|
accessToken string
|
|
refreshToken string
|
|
accessType string
|
|
}
|
|
|
|
type authorizeRes struct {
|
|
id string
|
|
authorized bool
|
|
}
|
|
|
|
type addPolicyRes struct {
|
|
authorized bool
|
|
}
|
|
type addPoliciesRes struct {
|
|
authorized bool
|
|
}
|
|
|
|
type deletePolicyRes struct {
|
|
deleted bool
|
|
}
|
|
|
|
type deletePoliciesRes 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
|
|
}
|