Patent ID: 8850515

Claim:
An apparatus comprising: a processor; a memory communicatively coupled to the processor; a plurality of token-based rules stored in the memory, wherein a token-based rule facilitates access to a resource; a plurality of tokens stored in the memory; computer instructions stored in the memory, wherein the computer instructions, when executed by the processor, cause the processor to: receive a resource token indicating that access to the resource has been requested by a user; determine at least one token-based rule based at least in part upon the resource token, wherein the at least one token-based rule conditions access to the resource upon a first token; determine that the plurality of tokens includes the first token specified by the at least one token-based rule; generate a session token based at least in part upon a hash using the resource token and the first token in response to the determination that the plurality of tokens includes the first token, wherein the session token is associated with access to the resource by the user; receive a second token indicating at least one of the detection of a face other than the user's and the detection of a voice other than the user's and at least one of that a typing style other than the user's has been detected and that handwriting other than the user's has been detected; determine, based at least in part upon the at least one token-based rule from the plurality of token-based rules, that access to the resource should be terminated in response to receiving the second token; determine, prior to terminating access to the resource by the user, an incomplete transaction associated with the resource; complete the transaction before terminating access to the resource; terminate access to the resource by the user in response to the determination that access to the resource should be terminated.