59 const char *input,
size_t input_len,
60 char **output,
size_t *output_len)
80 &authzid, &headerlen);
93 input_len -= headerlen;
104 *output_len = strlen (p);
105 *output = malloc (*output_len);
109 memcpy (*output, p, *output_len);
118 if (!(input_len == 1 && *input ==
'='))
int gsasl_callback(Gsasl *ctx, Gsasl_session *sctx, Gsasl_property prop)
@ GSASL_MECHANISM_CALLED_TOO_MANY_TIMES
@ GSASL_MECHANISM_PARSE_ERROR
@ GSASL_NO_SAML20_REDIRECT_URL
_GSASL_API int gsasl_property_set_raw(Gsasl_session *sctx, Gsasl_property prop, const char *data, size_t len)
_GSASL_API int gsasl_property_set(Gsasl_session *sctx, Gsasl_property prop, const char *data)
_GSASL_API const char * gsasl_property_get(Gsasl_session *sctx, Gsasl_property prop)
@ GSASL_SAML20_IDP_IDENTIFIER
@ GSASL_SAML20_REDIRECT_URL
int _gsasl_saml20_server_start(Gsasl_session *sctx _GL_UNUSED, void **mech_data)
int _gsasl_saml20_server_step(Gsasl_session *sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t *output_len)
void _gsasl_saml20_server_finish(Gsasl_session *sctx _GL_UNUSED, void *mech_data)