Authenticator.GetCredential método
Obtém o NetworkCredential para o Uri especificado.
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client.Phone.Auth.UI (em Microsoft.SharePoint.Client.Phone.Auth.UI.dll)
Sintaxe
'Declaração
Public Overrides Function GetCredential ( _
uri As Uri, _
authType As String _
) As NetworkCredential
'Uso
Dim instance As Authenticator
Dim uri As Uri
Dim authType As String
Dim returnValue As NetworkCredential
returnValue = instance.GetCredential(uri, _
authType)
public override NetworkCredential GetCredential(
Uri uri,
string authType
)
Parâmetros
uri
Tipo: System.UriUrk host e porta.
authType
Tipo: System.StringCredenciais são retornadas somente para o tipo de autenticação "Básico".
Valor retornado
Tipo: System.Net.NetworkCredential