Class ::nsmcp::Authenticator

::nsmcp::Authenticator[i] create ...

Defined in /usr/local/ns/tcl/nsmcp/lib/security.tcl

Class Relations

  • class: ::nx::Class[i]
  • superclass: ::nx::Object[i]
  • subclass: ::nsmcp::BearerAuthenticator[i]
::nx::Class create ::nsmcp::Authenticator \
     -superclass ::nx::Object

Methods (to be applied on instances)

  • authenticate (scripted, public)

     <instance of nsmcp::Authenticator[i]> authenticate authorization \
        server
    Parameters:
    authorization (required)
    server (required)

    Testcases:
    No testcase defined.
    return -code error -errorcode {NSMCP HTTP 401} "Authentication required"