IPWorks Auth 2020 Python Edition

Questions / Feedback?

authenticate Method

Authenticates the user.

Syntax

def authenticate() -> None: ...

Remarks

This method authenticates the user.

Authentication

When on_authenticate is called the class will attempt to authenticate the user with the Key Distribution Center (KDC). The class will communicate with the kdc_host to obtain a service ticket and populate auth_token. The following properties are required when calling this method:

A typical sequence of messages would be:

  • KRB_AS_REQ -> KDC
  • KRB_AS_REP <- KDC
  • KRB_TGS_REQ -> KDC
  • KRB_TGS_REP <- KDC
  • auth_token is populated with the constructed KRB_AP_REP message.

Communication with the kdc_host can be seen through the on_pi_trail event.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Auth 2020 Python Edition - Version 20.0 [Build 8155]