struct CCL::Web::IWebCredentials

Overview

#include <iwebcredentials.h>

struct IWebCredentials: public CCL::IUnknown
{
    // methods

    virtual void CCL_API assign (
        StringRef userName,
        StringRef password,
        StringRef authType = nullptr
    ) = 0;

    virtual StringRef CCL_API getAuthType () const = 0;
    virtual StringRef CCL_API getUserName () const = 0;
    virtual StringRef CCL_API getPassword () const = 0;
    virtual void CCL_API setAttributes (const IAttributeList& attributes) = 0;
    virtual void CCL_API getAttributes (IAttributeList& attributes) const = 0;
};

Inherited Members

public:
    // methods

    virtual tresult CCL_API queryInterface (UIDRef iid, void** ptr) = 0;
    virtual unsigned int CCL_API retain () = 0;
    virtual unsigned int CCL_API release () = 0;

Detailed Documentation

Methods

virtual void CCL_API assign (
    StringRef userName,
    StringRef password,
    StringRef authType = nullptr
) = 0

Assign credentials.

virtual StringRef CCL_API getAuthType () const = 0

Get authentication type.

virtual StringRef CCL_API getUserName () const = 0

Get user name.

virtual StringRef CCL_API getPassword () const = 0

Get password.

virtual void CCL_API setAttributes (const IAttributeList& attributes) = 0

Set additional attributes.

virtual void CCL_API getAttributes (IAttributeList& attributes) const = 0

Get additional attributes.