AssumeRoleWithWebIdentityResponse Class

.NET Framework 4.5
 
 
 
Did this page help you?  Yes  No   Tell us about it...
Returns information about the AssumeRoleWithWebIdentity response and response metadata.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceResponse
    Amazon.SecurityToken.Model.AssumeRoleWithWebIdentityResult
      Amazon.SecurityToken.Model.AssumeRoleWithWebIdentityResponse

Namespace: Amazon.SecurityToken.Model
Assembly: AWSSDK.dll
Version: 2.0.0.3

Syntax

C#
public class AssumeRoleWithWebIdentityResponse : AssumeRoleWithWebIdentityResult

The AssumeRoleWithWebIdentityResponse type exposes the following members

Constructors

Properties

  Name Description
Public Property AssumedRoleUser The Amazon Resource Name (ARN) and the assumed role ID, which are identifiers that you can use to refer to the resulting temporary security credentials. For example, you can reference these credentials as a principal in a resource-based policy by using the ARN or assumed role ID. The ARN and ID include the RoleSessionName that you specified when you called AssumeRole.
Public Property AssumeRoleWithWebIdentityResult Gets and sets the AssumeRoleWithWebIdentityResult property. Contains the result of a successful invocation of the AssumeRoleWithWebIdentity action, including temporary AWS credentials that can be used to make AWS requests.
Public Property ContentLength Returns the content length of the HTTP response.
Public Property Credentials The temporary security credentials, which include an access key ID, a secret access key, and a security token.
Public Property HttpStatusCode Returns the status code of the HTTP response.
Public Property PackedPolicySize A percentage value that indicates the size of the policy in packed form. The service rejects any policy with a packed size greater than 100 percent, which means the policy exceeded the allowed space.

Constraints:Range0 -

Public Property ResponseMetadata Contains additional information about the request, such as the Request Id.
Public Property SubjectFromWebIdentityToken The unique user identifier that is returned by the identity provider. This identifier is associated with the WebIdentityToken that was submitted with the AssumeRoleWithWebIdentity call. The identifier is typically unique to the user and the application that acquired the WebIdentityToken (pairwise identifier). If an OpenID Connect ID token was submitted in the WebIdentityToken, this value is returned by the identity provider as the token's sub (Subject) claim.

Constraints:Length6 - 255

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8

.NET for Windows Phone:
Supported in: Window Phone 8