主权项 |
1. A method comprising:
by a router, receiving an access request, from a user agent of a client computing device of a user, to access a communication network through the router, wherein the router is administered by an entity associated with a particular domain of the communication network, wherein the router is configured by default to send the access request to a first server, wherein the access request comprises a reference to a second server associated with the particular domain, wherein the particular domain is associated with a particular social-networking system, and wherein the first server is configured to authenticate the user to access the communication network; by the router, automatically and without user input, sending the access request to the second server associated with the particular domain based on a determination by the user agent that the communication network is administered by the entity of the particular domain, wherein the determination by the user agent is based at least in part on the user agent accessing information of the router comprising the reference to the second server associated with the particular domain, and wherein the second server associated with the particular domain is configured to authenticate the user and provide the authenticated user access to the communication network through the particular domain of the communication network in lieu of sending the access request to the first server; and by the router, in response to receiving an indication from the second server associated with the particular domain that the user was successfully authenticated, automatically providing to the user agent access to the particular domain of the communication network. |