View Source XenAPI.Session (XenAPI v0.1.1)

Link to this section Summary

Functions

Attempt to authenticate the user, returning a session reference if successful.

Log out of a session

Link to this section Functions

Link to this function

login_with_password(host, username, password)

View Source
@spec login_with_password(binary(), any(), any()) ::
  {:error, list()} | {:fault, [...]} | {:ok, any()}

Attempt to authenticate the user, returning a session reference if successful.

@spec logout(%XenSession{host: term(), session: term()}) ::
  {:error, list()} | {:fault, [...]} | {:ok, any()}

Log out of a session