Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 95217521f1 | |||
| acd224124e |
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 URLAccess struct {
|
||||
ID string `db:"id" json:"id"`
|
||||
Roles []string `db:"roles" json:"roles"`
|
||||
URL string `db:"url" json:"url"`
|
||||
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