Remove some fields from ProviderClient.
diff --git a/openstack/identity/v3/tokens/requests_test.go b/openstack/identity/v3/tokens/requests_test.go
index cfb4ff1..243a32f 100644
--- a/openstack/identity/v3/tokens/requests_test.go
+++ b/openstack/identity/v3/tokens/requests_test.go
@@ -17,9 +17,8 @@
client := gophercloud.ServiceClient{
ProviderClient: gophercloud.ProviderClient{
- IdentityEndpoint: testhelper.Endpoint(),
- Options: options,
- TokenID: "12345abcdef",
+ Options: options,
+ TokenID: "12345abcdef",
},
Endpoint: testhelper.Endpoint(),
}
diff --git a/provider_client.go b/provider_client.go
index a57bc7a..17fefa0 100644
--- a/provider_client.go
+++ b/provider_client.go
@@ -5,15 +5,10 @@
// Generally, you acquire a ProviderClient by calling the `NewClient()` method in the appropriate provider's child package,
// providing whatever authentication credentials are required.
type ProviderClient struct {
- // Authority caches results of the most recent authentication.
- Authority AuthResults
// Options remembers the original authentication parameters, if reauthentication is enabled.
Options AuthOptions
- // IdentityEndpoint is the base URL of the provider's identity endpoint.
- IdentityEndpoint string
-
// TokenID is the most recently valid token issued.
TokenID string
}