ShÅ an was a Japanese era after Einin and before Kengen .
Preceding it was the Einin era , and following it was the Kengen era .