'Construct an OP-Identifier OpenIDServiceEndpoint object for
a given OP Endpoint URL
@param op_endpoint_url: The URL of the endpoint
@rtype: OpenIDServiceEndpoint'

def fromOPEndpointURL(cls, op_endpoint_url):

    service = cls()
    service.server_url = op_endpoint_url
    service.type_uris = [OPENID_IDP_2_0_TYPE]
    return service
