C# Класс Rock.Security.Authentication.ActiveDirectory

Наследование: AuthenticationComponent
Показать файл Открыть проект

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

Метод Описание
Authenticate ( System request, string &userName, string &returnUrl ) : bool

Authenticates the user based on a request from a third-party provider. Will set the username and returnUrl values.

Authenticate ( UserLogin user, string password ) : bool

Authenticates the specified user name and password

ChangePassword ( UserLogin user, string oldPassword, string newPassword, string &warningMessage ) : bool

Changes the password.

EncodePassword ( UserLogin user, string password ) : string

Encodes the password.

GenerateLoginUrl ( System request ) : Uri

Generates the login URL.

ImageUrl ( ) : string

Gets the URL of an image that should be displayed.

IsReturningFromAuthentication ( System request ) : bool

Tests the Http Request to determine if authentication should be tested by this authentication provider.

SetPassword ( UserLogin user, string password ) : void

Sets the password.

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

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

Authenticates the user based on a request from a third-party provider. Will set the username and returnUrl values.
public Authenticate ( System request, string &userName, string &returnUrl ) : bool
request System The request.
userName string Name of the user.
returnUrl string The return URL.
Результат bool

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

Authenticates the specified user name and password
public Authenticate ( UserLogin user, string password ) : bool
user UserLogin The user.
password string The password.
Результат bool

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

Changes the password.
public ChangePassword ( UserLogin user, string oldPassword, string newPassword, string &warningMessage ) : bool
user UserLogin The user.
oldPassword string The old password.
newPassword string The new password.
warningMessage string The warning message.
Результат bool

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

Encodes the password.
public EncodePassword ( UserLogin user, string password ) : string
user UserLogin The user.
password string
Результат string

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

Generates the login URL.
public GenerateLoginUrl ( System request ) : Uri
request System The request.
Результат System.Uri

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

Gets the URL of an image that should be displayed.
public ImageUrl ( ) : string
Результат string

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

Tests the Http Request to determine if authentication should be tested by this authentication provider.
public IsReturningFromAuthentication ( System request ) : bool
request System The request.
Результат bool

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

Sets the password.
public SetPassword ( UserLogin user, string password ) : void
user UserLogin The user.
password string The password.
Результат void