All URIs are relative to http://example.com/rest/default
| Method | HTTP request | Description |
|---|---|---|
| GetV1TfaTfatuserproviders | Get /V1/tfa/tfat-user-providers | tfa/tfat-user-providers |
[]TwoFactorAuthProviderInterface GetV1TfaTfatuserproviders(ctx).TfaToken(tfaToken).Execute()
tfa/tfat-user-providers
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/Hevelop/go-client-magento"
)
func main() {
tfaToken := "tfaToken_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.TfaTfatUserProvidersAPI.GetV1TfaTfatuserproviders(context.Background()).TfaToken(tfaToken).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `TfaTfatUserProvidersAPI.GetV1TfaTfatuserproviders``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetV1TfaTfatuserproviders`: []TwoFactorAuthProviderInterface
fmt.Fprintf(os.Stdout, "Response from `TfaTfatUserProvidersAPI.GetV1TfaTfatuserproviders`: %v\n", resp)
}Other parameters are passed through a pointer to a apiGetV1TfaTfatuserprovidersRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
| tfaToken | string |
[]TwoFactorAuthProviderInterface
No authorization required
- Content-Type: Not defined
- Accept: application/json, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]