C# Класс XWiki.LoginData

Provindes functionality for storing authentication data.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
ClearCredentials ( ) : void

Erases the last saved credentials form isolated storage.

GetCredentials ( ) : String[]

Gets the last used credentials.

HasCredentials ( ) : bool

Specifies if the last user saved his credentials for autologin.

LoginData ( string filename ) : System

Creates an instance of the LoginData.

WriteCredentials ( String credentials ) : bool

Writes the user credentials to the disk for automatic login

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

ClearCredentials() публичный Метод

Erases the last saved credentials form isolated storage.
public ClearCredentials ( ) : void
Результат void

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

Gets the last used credentials.
public GetCredentials ( ) : String[]
Результат String[]

HasCredentials() публичный Метод

Specifies if the last user saved his credentials for autologin.
public HasCredentials ( ) : bool
Результат bool

LoginData() публичный Метод

Creates an instance of the LoginData.
public LoginData ( string filename ) : System
filename string /// Name of the file in which the authentication data will be stored. /// Default is LoginData.XWORD_LOGIN_DATA_FILENAME; ///
Результат System

WriteCredentials() публичный Метод

Writes the user credentials to the disk for automatic login
public WriteCredentials ( String credentials ) : bool
credentials String Array of strings containing the credentials
Результат bool