[ CCode ( has_construct_function = false ) ]
public AuthSession (int id, string method_name) throws Error
Creates a new AuthSession, which can be used to authenticate using the specified method.
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. |
a new AuthSession. |