RequestClaim Classe
Definição
Representa uma única declaração solicitada em uma RST (solicitação de token de segurança).Represents a single requested claim in a security token request (RST).
public ref class RequestClaim
public class RequestClaim
type RequestClaim = class
Public Class RequestClaim
- Herança
-
RequestClaim
Comentários
Representa uma única declaração dentro de um elemento de WST: Claims em uma mensagem de WST: RequestSecurityToken.Represents a single claim inside a wst:Claims element in a wst:RequestSecurityToken message. Todo o conteúdo do elemento WST: Claims é representado por um RequestClaimCollection que é uma coleção de RequestClaim objetos.The entire contents of the wst:Claims element is represented by a RequestClaimCollection which is a collection of RequestClaim objects. O conteúdo do elemento WST: Claims é acessado por meio da RequestSecurityToken.Claims propriedade.The contents of the wst:Claims element is accessed through the RequestSecurityToken.Claims property.
Um RequestClaim objeto representa uma solicitação de uma declaração, identificada por seu tipo de declaração (a ClaimType Propriedade), a ser presente no token de segurança emitido pelo STS.A RequestClaim object represents a request for a claim, identified by its claim type (the ClaimType property), to be present in the security token issued by the STS. A IsOptional propriedade indica se a declaração é necessária no no token emitido.The IsOptional property indicates whether the claim is required in the in the issued token.
Para obter mais informações sobre o elemento que essa classe representa, consulte a versão da especificação de WS-Trust que se aplica ao seu cenário.For more information about the element that this class represents, see the version of the WS-Trust specification that applies to your scenario.
Construtores
| RequestClaim(String) |
Inicializa uma nova instância da classe RequestClaim com o tipo de declaração especificado.Initializes a new instance of the RequestClaim class with the specified claim type. |
| RequestClaim(String, Boolean) |
Inicializa uma nova instância da classe RequestClaim com o tipo de declaração especificado e um valor que indica se a declaração é opcional.Initializes a new instance of the RequestClaim class with the specified claim type and a value that indicates whether the claim is optional. |
| RequestClaim(String, Boolean, String) |
Inicializa uma nova instância da classe RequestClaim com o tipo e o valor de declaração especificados e um valor que indica se a declaração é opcional.Initializes a new instance of the RequestClaim class with the specified claim type, claim value, and a value that indicates whether the claim is optional. |
Propriedades
| ClaimType |
Obtém o tipo da declaração solicitada.Gets the type of the requested claim. |
| IsOptional |
Obtém ou define um valor que indica se a declaração de solicitação é opcional na resposta.Gets or sets a value that indicates whether the request claim is optional in the response. |
| Value |
Obtém ou define o valor da declaração solicitada.Gets or sets the requested claim value. |
Métodos
| Equals(Object) |
Determina se o objeto especificado é igual ao objeto atual.Determines whether the specified object is equal to the current object. (Herdado de Object) |
| GetHashCode() |
Serve como a função de hash padrão.Serves as the default hash function. (Herdado de Object) |
| GetType() |
Obtém o Type da instância atual.Gets the Type of the current instance. (Herdado de Object) |
| MemberwiseClone() |
Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object. (Herdado de Object) |
| ToString() |
Retorna uma cadeia de caracteres que representa o objeto atual.Returns a string that represents the current object. (Herdado de Object) |