| Lasso Reference Manual |
|---|
LassoLibAuthnRequestLassoLibAuthnRequest — <lib:AuthnRequest> |
#include <lasso/lasso.h>
LassoLibAuthnRequest;
LassoLibAuthnRequest* lasso_lib_authn_request_new
(void);
typedef struct {
/* <xs:element ref="Extension" minOccurs="0" maxOccurs="unbounded"/> */
GList *Extension;
/* <xs:element ref="ProviderID"/> */
char *ProviderID;
/* <xs:element ref="AffiliationID" minOccurs="0"/> */
char *AffiliationID;
/* <xs:element ref="NameIDPolicy" minOccurs="0"/> */
char *NameIDPolicy;
/* <xs:element name="ForceAuthn" type="xs:boolean" minOccurs="0"/> */
gboolean ForceAuthn;
/* <xs:element name="IsPassive" type="xs:boolean "minOccurs="0"/> */
gboolean IsPassive;
/* <xs:element ref="ProtocolProfile" minOccurs="0"/> */
char *ProtocolProfile;
/* <xs:element name="AssertionConsumerServiceID" type="xs:string" minOccurs="0"/> */
char *AssertionConsumerServiceID;
/* <xs:element ref="RequestAuthnContext" minOccurs="0"/> */
LassoLibRequestAuthnContext *RequestAuthnContext;
/* <xs:element ref="RelayState" minOccurs="0"/> */
char *RelayState;
/* <xs:element ref="Scoping" minOccurs="0 "/> */
LassoLibScoping *Scoping;
/* <xs:attribute ref="consent" use="optional"/> */
char *consent;
} LassoLibAuthnRequest;
ProviderID is the service provider identifier, this field will often be filled
with lasso_login_init_authn_request().
nameIDPolicy tells the identity provider about the policy to use for
federation; it must be one of LASSO_LIB_NAMEID_POLICY_TYPE_NONE,
LASSO_LIB_NAMEID_POLICY_TYPE_ONE_TIME, LASSO_LIB_NAMEID_POLICY_TYPE_FEDERATED
or LASSO_LIB_NAMEID_POLICY_TYPE_ANY.
IsPassive; if TRUE (default) it tells the identity provider not to interact
with the user.
ForceAuthn; only used if IsPassive is FALSE, it tells the identity provider
to force authentication of the user even when already authenticated.
ProtocolProfile is the Single Sign-On and Federation profile to adopt; either
LASSO_LIB_PROTOCOL_PROFILE_BRWS_ART (which is the default value) or
LASSO_LIB_PROTOCOL_PROFILE_BRWS_POST.
LassoLibAuthnRequest* lasso_lib_authn_request_new (void);
Creates a new LassoLibAuthnRequest object.
| Returns : | a newly created LassoLibAuthnRequest object |
| << LassoLibAuthnContext | LassoLibAuthnRequestEnvelope >> |