Search Results for

    Show / Hide Table of Contents

    Class PlainMechanism

    The PLAIN SASL authentication mechanism.

    Inheritance
    System.Object
    SaslMechanism
    PlainMechanism
    Inherited Members
    SaslMechanism.Name
    SaslMechanism.Username
    SaslMechanism.Password
    SaslMechanism.GetResponse(String)
    SaslMechanism.GetResponse(Byte[])
    Namespace: FastReport.Messaging.Authentication.Sasl
    Assembly: FastReport.dll
    Syntax
    public class PlainMechanism : SaslMechanism

    Constructors

    PlainMechanism(String, String)

    Initializes a new instance of the PlainMechanism class.

    Declaration
    public PlainMechanism(string username, string password)
    Parameters
    Type Name Description
    System.String username

    The username.

    System.String password

    The user's password.

    Fields

    MECHANISM_NAME

    The mechanism name.

    Declaration
    public const string MECHANISM_NAME = "PLAIN"
    Field Value
    Type Description
    System.String

    Methods

    ComputeResponse(Byte[])

    Computes the client response for server challenge.

    Declaration
    protected override byte[] ComputeResponse(byte[] challenge)
    Parameters
    Type Name Description
    System.Byte[] challenge

    The challenge from server. Usually empty for PLAIN mechanism.

    Returns
    Type Description
    System.Byte[]

    The response from client.

    Overrides
    SaslMechanism.ComputeResponse(Byte[])
    Back to top © 1998-2025 Copyright Fast Reports Inc.