/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 1.3.31 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ package com.entrouvert.lasso; public class LibAuthnResponse extends SamlpResponse { protected LibAuthnResponse(long cPtr, boolean cMemoryOwn) { super(cPtr, cMemoryOwn); } protected static long getCPtr(LibAuthnResponse obj) { return (obj == null) ? 0 : obj.swigCPtr; } protected void finalize() { delete(); } public void delete() { super.delete(); } public void setConsent(String value) { lassoJNI.LibAuthnResponse_consent_set(swigCPtr, this, value); } public String getConsent() { return lassoJNI.LibAuthnResponse_consent_get(swigCPtr, this); } public void setProviderId(String value) { lassoJNI.LibAuthnResponse_providerId_set(swigCPtr, this, value); } public String getProviderId() { return lassoJNI.LibAuthnResponse_providerId_get(swigCPtr, this); } public void setRelayState(String value) { lassoJNI.LibAuthnResponse_relayState_set(swigCPtr, this, value); } public String getRelayState() { return lassoJNI.LibAuthnResponse_relayState_get(swigCPtr, this); } public void setExtension(StringList value) { lassoJNI.LibAuthnResponse_extension_set(swigCPtr, this, StringList.getCPtr(value), value); } public StringList getExtension() { long cPtr = lassoJNI.LibAuthnResponse_extension_get(swigCPtr, this); return (cPtr == 0) ? null : new StringList(cPtr, false); } public void setStatus(SamlpStatus value) { lassoJNI.LibAuthnResponse_status_set(swigCPtr, this, SamlpStatus.getCPtr(value), value); } public SamlpStatus getStatus() { long cPtr = lassoJNI.LibAuthnResponse_status_get(swigCPtr, this); return (cPtr == 0) ? null : new SamlpStatus(cPtr, false); } public LibAuthnResponse(String providerID, LibAuthnRequest request) { this(lassoJNI.new_LibAuthnResponse(providerID, LibAuthnRequest.getCPtr(request), request), true); } public String dump() { return lassoJNI.LibAuthnResponse_dump(swigCPtr, this); } }