Skip to content

Commit a82cbdc

Browse files
committed
Update README with get_last_authn_contexts method
1 parent c5286ae commit a82cbdc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -915,6 +915,7 @@ Main class of OneLogin Python Toolkit
915915
* ***get_sso_url*** Gets the SSO url.
916916
* ***get_slo_url*** Gets the SLO url.
917917
* ***get_last_request_id*** The ID of the last Request SAML message generated (AuthNRequest, LogoutRequest).
918+
* ***get_last_authn_contexts*** Returns the list of authentication contexts sent in the last SAML Response.
918919
* ***build_request_signature*** Builds the Signature of the SAML Request.
919920
* ***build_response_signature*** Builds the Signature of the SAML Response.
920921
* ***get_settings*** Returns the settings info.

src/onelogin/saml2/auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ def get_last_assertion_id(self):
322322

323323
def get_last_authn_contexts(self):
324324
"""
325-
:returns: The list of authentication contexts sent in the last SAML resposne.
325+
:returns: The list of authentication contexts sent in the last SAML Response.
326326
:rtype: list
327327
"""
328328
return self.__last_authn_contexts

0 commit comments

Comments
 (0)