Documentation ¶
Index ¶
- func RemoveDoubleAuthMethod(methodToRemove string, ownerId string) error
- type ActivateDoubleAuthTierResponse
- type AddTrustDeviceResponse
- type CreateDeviceConnectInput
- type CreateDeviceConnectResponse
- type CreateDoubleAuthInput
- type CreateDoubleAuthResponse
- type CreateDoubleAuthTierResponse
- type CreateDoubleMobileInput
- type CreateDoubleMobileResponse
- type DeleteDeviceConnectResponse
- type GetDeviceConnectByIdResponse
- type GetDevicesConnectResponse
- type GetDoubleAuthByIdResponse
- type GetSecretResponse
- type GetTrustDeviceConnectByIdResponse
- type GetTrustDevicesConnectResponse
- type RemoveTrustDeviceResponse
- type TotpInfo
- type UpdateDeviceConnectInput
- type UpdateDeviceConnectResponse
- type UpdateDoubleAuthInput
- type UpdateDoubleAuthResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RemoveDoubleAuthMethod ¶
Types ¶
type ActivateDoubleAuthTierResponse ¶ added in v2.1.0
type ActivateDoubleAuthTierResponse struct { DoubleAuth model.DoubleAuth Code int Err error }
func ActivateDoubleAuthTier ¶ added in v2.1.0
func ActivateDoubleAuthTier(ownerId string) ActivateDoubleAuthTierResponse
type AddTrustDeviceResponse ¶
type AddTrustDeviceResponse struct { Patient *model.Patient Doctor *model.Doctor Code int Err error }
func AddTrustDevice ¶
func AddTrustDevice(id_device string, id_user string) AddTrustDeviceResponse
type CreateDeviceConnectResponse ¶
type CreateDeviceConnectResponse struct { DeviceConnect model.DeviceConnect Code int Err error }
func CreateDeviceConnect ¶
func CreateDeviceConnect(input CreateDeviceConnectInput, ownerId string) CreateDeviceConnectResponse
type CreateDoubleAuthInput ¶
type CreateDoubleAuthInput struct {
Methods string `json:"method_2fa"`
}
type CreateDoubleAuthResponse ¶
type CreateDoubleAuthResponse struct { DoubleAuth model.DoubleAuth Code int Err error }
func CreateDoubleAuthEmail ¶
func CreateDoubleAuthEmail(input CreateDoubleAuthInput, ownerId string) CreateDoubleAuthResponse
type CreateDoubleAuthTierResponse ¶
func CreateDoubleAuthAppTier ¶
func CreateDoubleAuthAppTier(ownerId string) CreateDoubleAuthTierResponse
type CreateDoubleMobileInput ¶
type CreateDoubleMobileResponse ¶
type CreateDoubleMobileResponse struct { DoubleAuth model.DoubleAuth Patient model.Patient Code int Err error }
func CreateDoubleAuthMobile ¶
func CreateDoubleAuthMobile(input CreateDoubleMobileInput, ownerId string) CreateDoubleMobileResponse
type DeleteDeviceConnectResponse ¶
func DeleteDeviceConnect ¶
func DeleteDeviceConnect(DeviceId string, ownerId string) DeleteDeviceConnectResponse
type GetDeviceConnectByIdResponse ¶
type GetDeviceConnectByIdResponse struct { DeviceConnect model.DeviceConnect Code int Err error }
func GetDeviceConnectById ¶
func GetDeviceConnectById(id string) GetDeviceConnectByIdResponse
func GetTrustDeviceConnectById ¶
func GetTrustDeviceConnectById(id string) GetDeviceConnectByIdResponse
type GetDevicesConnectResponse ¶
type GetDevicesConnectResponse struct { DevicesConnect []model.DeviceConnect Code int Err error }
func GetDeviceConnect ¶
func GetDeviceConnect(ownerId string, page int, size int) GetDevicesConnectResponse
type GetDoubleAuthByIdResponse ¶
type GetDoubleAuthByIdResponse struct { DoubleAuth model.DoubleAuth Code int Err error }
func GetDoubleAuthById ¶
func GetDoubleAuthById(ownerId string) GetDoubleAuthByIdResponse
type GetSecretResponse ¶ added in v2.1.0
func GetSecretThirdParty ¶ added in v2.0.10
func GetSecretThirdParty(ownerID string) GetSecretResponse
type GetTrustDeviceConnectByIdResponse ¶
type GetTrustDeviceConnectByIdResponse struct { DeviceConnect model.DeviceConnect Code int Err error }
type GetTrustDevicesConnectResponse ¶
type GetTrustDevicesConnectResponse struct { DevicesConnect []model.DeviceConnect Code int Err error }
func GetTrustDeviceConnect ¶
func GetTrustDeviceConnect(id_user string) GetTrustDevicesConnectResponse
type RemoveTrustDeviceResponse ¶
type RemoveTrustDeviceResponse struct { Patient model.Patient Doctor model.Doctor Code int Err error }
func RemoveTrustDevice ¶
func RemoveTrustDevice(id_device string, id_user string) RemoveTrustDeviceResponse
type UpdateDeviceConnectInput ¶ added in v2.0.11
type UpdateDeviceConnectResponse ¶ added in v2.0.11
type UpdateDeviceConnectResponse struct { DeviceConnect model.DeviceConnect Code int Err error }
func UpdateDeviceConnect ¶ added in v2.0.11
func UpdateDeviceConnect(input UpdateDeviceConnectInput, deviceId string) UpdateDeviceConnectResponse
type UpdateDoubleAuthInput ¶
type UpdateDoubleAuthResponse ¶
type UpdateDoubleAuthResponse struct { DoubleAuth model.DoubleAuth Patient model.Patient Code int Err error }
func UpdateDoubleAuth ¶
func UpdateDoubleAuth(input UpdateDoubleAuthInput, ownerId string) UpdateDoubleAuthResponse
Source Files ¶
Click to show internal directories.
Click to hide internal directories.