Skip to content
This repository was archived by the owner on Aug 1, 2023. It is now read-only.

Commit 05bb111

Browse files
committed
Allow scoped token auth.
1 parent 31e80ae commit 05bb111

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

openstack/identity/v3/tokens/requests.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,6 @@ func Create(c *gophercloud.ServiceClient, options gophercloud.AuthOptions, scope
9393
if options.UserID != "" {
9494
return createErr(ErrUserIDWithToken)
9595
}
96-
if options.DomainID != "" {
97-
return createErr(ErrDomainIDWithToken)
98-
}
99-
if options.DomainName != "" {
100-
return createErr(ErrDomainNameWithToken)
101-
}
10296

10397
// Configure the request for Token authentication.
10498
req.Auth.Identity.Methods = []string{"token"}

0 commit comments

Comments
 (0)