<html>
	<head>
		<script type='text/javascript' src='/js/roomName.js'></script>
	</head>
	<body>
		<br />
		The below is the Info of the Token you give to the requester:
		<br />
		<hr style="border: 1px #B0C4DE solid;width:70%;" align="left"/>
		<br />
		Access Token: <%=tokenInfo.access_token%>
		<br /><br />
		It expires in: <%=tokenInfo.expires_in%>
		<br /><br />
		Refresh Token: <%=tokenInfo.refresh_token%>
		<br /><br />
		It expires in: <%=tokenInfo.refresh_token_expires_in%>
		<br />
		<br />
		<hr style="border: 1px #B0C4DE solid;width:70%;" align="left"/>
		<br />		
		All the authorization process is complete now! You can either send the Token info to the requester by copy/paste direclty, or use the below demo to do it:
		<br />
		<hr style="border: 1px #B0C4DE solid;width:70%;" align="left"/>
		<br/>
		The demo uses the Token above to create a room, add the requester into it, then send the Token info there (Unrelated to the authorization process).
		<br />
		<form action="/actions/createAndJoinRoom" method="post">
			<br />
			Room Name: <input type="text" name="roomName" value="Rock Spark Room"/> (3~20 characters.)
			<input type="submit" name="s1" value="submit"/>
		</form>
		<br />
		<hr style="border: 1px #B0C4DE solid;width:70%;" align="left"/>
		<br />
		<br />
	</body>
</html>