AuthSession
Description:
[ CCode ( has_construct_function = false ) ]
public AuthSession (int id, string method_name) throws Error
public AuthSession (int id, string method_name) throws Error
Creates a new AuthSession, which can be used to authenticate using the specified method.
Parameters:
id |
the id of the Identity to be used. Can be 0, if this session is not bound to any stored identity. |
method_name |
the name of the authentication method to be used. |
Returns:
a new AuthSession. |