diff --git a/openstack/identity/v3/tokens/results.go b/openstack/identity/v3/tokens/results.go index d134f7d4..7e0f5bab 100644 --- a/openstack/identity/v3/tokens/results.go +++ b/openstack/identity/v3/tokens/results.go @@ -67,6 +67,12 @@ func (r commonResult) ExtractToken() (*Token, error) { Token struct { ExpiresAt string `mapstructure:"expires_at"` } `mapstructure:"token"` + User struct { + Name string `mapstructure:"name,omitempty"` + ID string `mapstucture:"id,omitempty"` + TenantName string `mapstructure:"tenantName,omitempty"` + TenantID string `mapstructure:"tenantId,omitempty"` + } `mapstructure:"user,omitempty"` } var token Token