Authorization examples (without library)