Newbie Question regarding this syntax --> public HttpRequestToken(string rsaKey) : base(rsaKey)
Posted on 2006-11-04
I'm working through someones code and I'm not sure what is happening here.
Here's the method in question:
public HttpRequestToken(string rsaKey) : base(rsaKey)
This is called via this (the RSAKeyInXMLString is actually the RSA Signing Key as an XML string):
MyToken.HttpRequestToken oToken = new MyToken.HttpRequestToken (RSAKeyInXMLString);
Can anyone explain the syntax here? I'm confused over why this method is empty and what the ": base (rsaKey)" is all about?
Also after this, are these lines:
oToken["UserID"] = idLoginName.Text;
oToken["Password"] = idLoginPassword.Text;
Does this (oToken["SomeValue"]) represent some kind of Forms collection or something?
Cheers in advance.