C# Класс Microsoft.Alm.Authentication.BaseAuthentication

Base authentication mechanisms for setting, retrieving, and deleting stored credentials.
Наследование: IAuthentication
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
DeleteCredentials ( TargetUri targetUri ) : void

Deletes a Credential from the storage used by the authentication object.

GetCredentials ( TargetUri targetUri ) : Credential

Gets a Credential from the storage used by the authentication object.

SetCredentials ( TargetUri targetUri, Credential credentials ) : void

Sets a Credential in the storage used by the authentication object.

Описание методов

DeleteCredentials() публичный абстрактный Метод

Deletes a Credential from the storage used by the authentication object.
public abstract DeleteCredentials ( TargetUri targetUri ) : void
targetUri TargetUri /// The uniform resource indicator used to uniquely identify the credentials. ///
Результат void

GetCredentials() публичный абстрактный Метод

Gets a Credential from the storage used by the authentication object.
public abstract GetCredentials ( TargetUri targetUri ) : Credential
targetUri TargetUri /// The uniform resource indicator used to uniquely identify the credentials. ///
Результат Credential

SetCredentials() публичный абстрактный Метод

Sets a Credential in the storage used by the authentication object.
public abstract SetCredentials ( TargetUri targetUri, Credential credentials ) : void
targetUri TargetUri /// The uniform resource indicator used to uniquely identify the credentials. ///
credentials Credential The value to be stored.
Результат void