Authorization Classe
Definição
Contém uma mensagem de autenticação para um servidor da Internet.Contains an authentication message for an Internet server.
public ref class Authorization
public class Authorization
type Authorization = class
Public Class Authorization
- Herança
-
Authorization
Comentários
O AuthenticationManager retorna uma instância da Authorization classe que contém uma mensagem de autenticação.The AuthenticationManager returns an instance of the Authorization class that contains an authentication message. Essa mensagem é enviada ao servidor da Internet para indicar que o cliente (como WebRequest ou um de seus descendentes) está autorizado a acessar o servidor.This message is sent to the Internet server to indicate that the client (such as WebRequest or one of its descendants) is authorized to access the server.
A Authorization instância é criada pelo módulo de autenticação que o AuthenticationManager designa para manipular a solicitação.The Authorization instance is created by the authentication module that the AuthenticationManager designates to handle the request.
Construtores
| Authorization(String) |
Cria uma nova instância da classe Authorization com a mensagem de autorização especificada.Creates a new instance of the Authorization class with the specified authorization message. |
| Authorization(String, Boolean) |
Cria uma nova instância da classe Authorization com a mensagem de autorização e o status da conclusão especificados.Creates a new instance of the Authorization class with the specified authorization message and completion status. |
| Authorization(String, Boolean, String) |
Cria uma nova instância da classe Authorization com a mensagem de autorização, o status da conclusão e o identificador de grupo da conexão especificados.Creates a new instance of the Authorization class with the specified authorization message, completion status, and connection group identifier. |
Propriedades
| Complete |
Obtém o status de conclusão da autorização.Gets the completion status of the authorization. |
| ConnectionGroupId |
Obtém um identificador exclusivo para conexões específicas do usuário.Gets a unique identifier for user-specific connections. |
| Message |
Obtém a mensagem retornada ao servidor em resposta a um desafio de autenticação.Gets the message returned to the server in response to an authentication challenge. |
| MutuallyAuthenticated |
Obtém ou define um valor Boolean que indica se ocorreu uma autenticação mútua.Gets or sets a Boolean value that indicates whether mutual authentication occurred. |
| ProtectionRealm |
Obtém ou define o prefixo para URIs (Uniform Resource Identifiers) que podem ser autenticados com a propriedade Message.Gets or sets the prefix for Uniform Resource Identifiers (URIs) that can be authenticated with the Message property. |
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) |