C# 클래스 XWiki.LoginData

Provindes functionality for storing authentication data.
파일 보기 프로젝트 열기: xwiki-contrib/xwiki-office 1 사용 예제들

공개 메소드들

메소드 설명
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