2021-07-11 12:49:31 +08:00
|
|
|
package models
|
|
|
|
|
2022-09-20 01:27:30 +08:00
|
|
|
// AccessToken - token used to access netmaker
|
2021-07-11 12:49:31 +08:00
|
|
|
type AccessToken struct {
|
2022-06-01 00:07:56 +08:00
|
|
|
APIConnString string `json:"apiconnstring"`
|
2021-07-11 12:49:31 +08:00
|
|
|
ClientConfig
|
|
|
|
}
|
|
|
|
|
2022-09-20 01:27:30 +08:00
|
|
|
// ClientConfig - the config of the client
|
2021-07-11 12:49:31 +08:00
|
|
|
type ClientConfig struct {
|
2021-10-09 03:07:12 +08:00
|
|
|
Network string `json:"network"`
|
|
|
|
Key string `json:"key"`
|
|
|
|
LocalRange string `json:"localrange"`
|
2021-07-11 12:49:31 +08:00
|
|
|
}
|