»

LJ::is_valid_authaction

LJ::is_valid_authaction — Validates a shared secret (authid/authcode pair)

Use

LJ::is_valid_authaction(dbarg, aaid, auth);

Arguments

  • dbarg. Deprecated; a master database handle ($dbh) or a master/slave set of database handles ($dbs).

  • aaid. Integer; the authaction ID.

  • auth. String; the auth string. (random chars the client already got)

Info

See LJ::register_authaction.

Source:

cgi-bin/ljlib.pl

Returns:

Hashref of authaction row from database.