feat: enable / disable authorization
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
export type HoppRESTAuthNone = {
|
||||
authType: "none"
|
||||
authActive: true
|
||||
}
|
||||
|
||||
export type HoppRESTAuthBasic = {
|
||||
authType: "basic"
|
||||
authActive: true
|
||||
|
||||
username: string
|
||||
password: string
|
||||
@@ -11,6 +13,7 @@ export type HoppRESTAuthBasic = {
|
||||
|
||||
export type HoppRESTAuthBearer = {
|
||||
authType: "bearer"
|
||||
authActive: true
|
||||
|
||||
token: string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user