Authenticating customers in theme app extension

Can you please elaborate a bit more on this as to how to obtain the session token for the current customer on the Online Store?