create new repo using github api

How is auth handled here?