Description Objects from the Class Slots Methods Author(s) References See Also Examples
This is a class that is used to represent authentication information that is to be sent as part of the SOAP request. It is made up of a username and password. The object can then be converted to the appropriate XML.
Objects can be created by calls of the form new("WSSEAuth", ...)
.
username
:Object of class "character"
the user
name/login to identify the person making the request
password
:Object of class "character"
the
password for that user
required
:Object of class "logical"
an optional
value that indicates whether to add the mustUnderstand attribute
in the request to ensure that the server raises an error if the
authentication is not understood or fails.
signature(from = "WSSEAuth", to = "XMLInternalElementNode")
: ...
signature(from = "WSSEAuth", to = "XMLInternalNode")
: ...
Duncan Temple Lang
http://en.wikipedia.org/wiki/WS-Security http://msdn.microsoft.com/en-us/library/ms951257.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | showClass("WSSEAuth")
auth = new("WSSEAuth", username = "duncan", password = "bob")
as(auth, "XMLInternalNode")
## Not run:
# This adds a Header to the request with user name and password
# It is NOT needed for this service, but we are just using it as an
# example of how we can pass the authentication information.
.SOAP("http://soap.genome.jp/keggapi/request_v6.2.cgi", "list_databases",
action = "SOAP/KEGG#list_databases",
.soapHeader = auth)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.