File tree Expand file tree Collapse file tree 1 file changed +32
-1
lines changed
src/corelib/Providers/Rackspace/Objects/Response Expand file tree Collapse file tree 1 file changed +32
-1
lines changed Original file line number Diff line number Diff line change @@ -3,10 +3,41 @@ namespace net.openstack.Providers.Rackspace.Objects.Response
33 using net . openstack . Core . Domain ;
44 using Newtonsoft . Json ;
55
6+ /// <summary>
7+ /// This models the JSON response used for the Impersonate User request.
8+ /// </summary>
9+ /// <remarks>
10+ /// The Impersonate User API is a Rackspace-specific extension to the OpenStack
11+ /// Identity Service, and is documented in the Rackspace <strong>Cloud Identity
12+ /// Admin Developer Guide - API v2.0</strong>.
13+ /// </remarks>
14+ /// <threadsafety static="true" instance="false"/>
615 [ JsonObject ( MemberSerialization . OptIn ) ]
716 internal class UserImpersonationResponse
817 {
18+ /// <summary>
19+ /// Gets the details for the response.
20+ /// </summary>
921 [ JsonProperty ( "access" ) ]
10- public UserAccess UserAccess { get ; private set ; }
22+ public UserImpersonationData UserAccess { get ; private set ; }
23+
24+ /// <summary>
25+ /// This models the JSON body containing details for the Impersonate User response.
26+ /// </summary>
27+ /// <threadsafety static="true" instance="false"/>
28+ [ JsonObject ( MemberSerialization . OptIn ) ]
29+ internal class UserImpersonationData
30+ {
31+ /// <summary>
32+ /// Gets the <see cref="IdentityToken"/> which allows providers to make
33+ /// impersonated calls to API methods.
34+ /// </summary>
35+ [ JsonProperty ( "token" ) ]
36+ public IdentityToken Token
37+ {
38+ get ;
39+ private set ;
40+ }
41+ }
1142 }
1243}
You can’t perform that action at this time.
0 commit comments