def METHOD_NAME(self):
    attributes = [
        ("Entity ID", self.entity_id(), False),
        ("Assertion Consumer Service URL", self.acs_url(), False),
        ("Allow IdP-initiated login", "yes" if self.allow_idp_initiated_login else "no", False),
    ]
    if self.default_relay_state:
        attributes.append(("Default relay state", self.default_relay_state, True))
    try:
        client = self.get_saml2_client()
        # REDIRECT by default
        attributes.append(("IdP redirect", client.sso_location() or "-", False))
    except Exception:
        pass
    return attributes