Constructs and deconstructs Credential values.
Constructs a new credential using the given session id and password.
the session id
the session password
a credential with the given id and password
id
password
Used in pattern matching to deconstruct a credential.
selector value
a Some containing id and password if the selector value is not null, otherwise None
Some
null
None