radius_authenticate#

Autogenerated API

argus_api.lib.authentication.v1.radius.radius_authenticate.legacy_radius_authentication(requestedAuthorizations: str = None, userName: str = None, domain: str = None, mode: str = None, password: str = None, tokenCode: str = None, state: str = None, json: bool = True, verify: Optional[bool] = None, proxies: Optional[dict] = None, apiKey: Optional[str] = None, authentication: Optional[dict] = None, server_url: Optional[str] = None, body: Optional[dict] = None, api_session: Optional[ArgusAPISession] = None) dict#

Initiate a new user session using RADIUS authentication (PUBLIC)

Parameters
  • requestedAuthorizations (list) – Allow client to request authorizations as part of the authentication transaction. The client is not guaranteed to get the requested authorizations. The setPassword authorization is only returned if the current user has the FORCE_PW_CHANGE flag set.

  • userName (str) – Username to authenticate

  • domain (str) – User domain

  • mode (str) – Authentication mode. Use AUTHENTICATION for normal authentication, or CHALLENGE to respond to a challenge request

  • password (str) – RADIUS static password

  • tokenCode (str) – RADIUS token code

  • state (str) – When responding to a challenge, include the encoded state returned by the challenge.

  • json – return the response’s body as a dict parsed from json. True by default. If set to false, the raw requests.Response object will be returned.

  • verify – path to a certificate bundle or boolean indicating whether SSL verification should be performed.

  • apiKey – Argus API key.

  • authentication – authentication override

  • server_url – API base URL override

  • body – body of the request. other parameters will override keys defined in the body.

  • api_session – session to use for this request. If not set, the global session will be used.

Raises
Returns

dictionary translated from JSON

argus_api.lib.authentication.v1.radius.radius_authenticate.radius_authentication(requestedAuthorizations: str = None, userName: str = None, domain: str = None, mode: str = None, password: str = None, tokenCode: str = None, state: str = None, json: bool = True, verify: Optional[bool] = None, proxies: Optional[dict] = None, apiKey: Optional[str] = None, authentication: Optional[dict] = None, server_url: Optional[str] = None, body: Optional[dict] = None, api_session: Optional[ArgusAPISession] = None) dict#

Initiate a new user session using RADIUS authentication (PUBLIC)

Parameters
  • requestedAuthorizations (list) – Allow client to request authorizations as part of the authentication transaction. The client is not guaranteed to get the requested authorizations. The setPassword authorization is only returned if the current user has the FORCE_PW_CHANGE flag set.

  • userName (str) – Username to authenticate

  • domain (str) – User domain

  • mode (str) – Authentication mode. Use AUTHENTICATION for normal authentication, or CHALLENGE to respond to a challenge request

  • password (str) – RADIUS static password

  • tokenCode (str) – RADIUS token code

  • state (str) – When responding to a challenge, include the encoded state returned by the challenge.

  • json – return the response’s body as a dict parsed from json. True by default. If set to false, the raw requests.Response object will be returned.

  • verify – path to a certificate bundle or boolean indicating whether SSL verification should be performed.

  • apiKey – Argus API key.

  • authentication – authentication override

  • server_url – API base URL override

  • body – body of the request. other parameters will override keys defined in the body.

  • api_session – session to use for this request. If not set, the global session will be used.

Raises
Returns

dictionary translated from JSON