Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ccc705e2fe |
@@ -1,5 +0,0 @@
|
|||||||
package identity
|
|
||||||
|
|
||||||
type AuthorizationHeaderDTO struct {
|
|
||||||
Authorization string `reqHeader:"authorization"`
|
|
||||||
}
|
|
||||||
@@ -1,8 +1,7 @@
|
|||||||
package identity
|
package identity
|
||||||
|
|
||||||
type Role struct {
|
type Role struct {
|
||||||
ID string `db:"id" json:"id"`
|
ID string `db:"id" json:"id"`
|
||||||
Name string `db:"name" json:"name"`
|
Roles string `db:"roles" json:"roles"`
|
||||||
DisplayName string `db:"display_name" json:"display_name"`
|
URL string `db:"url" json:"url"`
|
||||||
URL string `db:"url" json:"url"`
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +0,0 @@
|
|||||||
package identity
|
|
||||||
|
|
||||||
type URLAccess struct {
|
|
||||||
ID string `db:"id" json:"id"`
|
|
||||||
Roles []string `db:"roles" json:"roles"`
|
|
||||||
URL string `db:"url" json:"url"`
|
|
||||||
Service string `db:"service" json:"service"`
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user