Skip to content
Browse files

Some changes to the API that I think would be nice. need_step

is consistent with the Cyrus implementation.
  • Loading branch information...
1 parent f0d39b7 commit ea10d9758043a9cf20edc0307cc1781064ffb520 @yannk yannk committed with gbarr Jan 11, 2009
Showing with 10 additions and 0 deletions.
  1. +10 −0 lib/Authen/SASL.pod
View
10 lib/Authen/SASL.pod
@@ -159,6 +159,11 @@ This method is called when a response from the server requires it. CHALLENGE
is the value from the server. Returns the next value to pass to the server or an
empty list on error.
+=item need_step ( )
+
+Returns true if the selected mechanism requires another step before completion
+(error or success).
+
=item answer ( NAME )
The method will return the value returned from the last call to the callback NAME
@@ -183,6 +188,11 @@ Returns the host argument that was passed to *_new-methods.
Returns the name of the chosen mechanism.
+=item is_success ( )
+
+Once need_step() returns false, then you can check if the authentication
+succeeded by calling this method which returns a boolean value.
+
=back
=head2 Callbacks

0 comments on commit ea10d97

Please sign in to comment.
Something went wrong with that request. Please try again.