'Return an OpenID 1.1 OpenIDServiceEndpoint for the server.'

def v1endpoint(self, port):

    base = ('http://%s:%s' % (socket.getfqdn('127.0.0.1'), port))
    ep = OpenIDServiceEndpoint()
    ep.claimed_id = (base + '/id/bob')
    ep.server_url = (base + '/openidserver')
    ep.type_uris = [OPENID_1_1_TYPE]
    return ep
