Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1f6f990185 | |||
| 95217521f1 | |||
| acd224124e | |||
| 0da1747d35 |
5
identity/dto/headers.go
Normal file
5
identity/dto/headers.go
Normal file
@@ -0,0 +1,5 @@
|
||||
package identity
|
||||
|
||||
type AuthorizationHeaderDTO struct {
|
||||
Authorization string `reqHeader:"authorization"`
|
||||
}
|
||||
@@ -1,7 +1,8 @@
|
||||
package identity
|
||||
|
||||
type Role struct {
|
||||
ID string `db:"id" json:"id"`
|
||||
Roles []byte `db:"roles" json:"roles"`
|
||||
URL string `db:"url" json:"url"`
|
||||
ID string `db:"id" json:"id"`
|
||||
Name string `db:"name" json:"name"`
|
||||
DisplayName string `db:"display_name" json:"display_name"`
|
||||
URL string `db:"url" json:"url"`
|
||||
}
|
||||
|
||||
8
identity/entity/url_access.go
Normal file
8
identity/entity/url_access.go
Normal file
@@ -0,0 +1,8 @@
|
||||
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:"serice"`
|
||||
}
|
||||
Reference in New Issue
Block a user