63 const char *input,
size_t input_len,
64 char **output,
size_t *output_len)
76 if (!authid || !*authid)
80 strlen (authid), authid,
103 *output = strdup (
"=");
136 #define ERR_PREFIX "openid.error="
141 *output = strdup (
"=");
int gsasl_callback(Gsasl *ctx, Gsasl_session *sctx, Gsasl_property prop)
@ GSASL_MECHANISM_CALLED_TOO_MANY_TIMES
_GSASL_API int gsasl_property_set_raw(Gsasl_session *sctx, Gsasl_property prop, const char *data, size_t len)
_GSASL_API const char * gsasl_property_get(Gsasl_session *sctx, Gsasl_property prop)
@ GSASL_OPENID20_AUTHENTICATE_IN_BROWSER
@ GSASL_OPENID20_OUTCOME_DATA
@ GSASL_OPENID20_REDIRECT_URL
void _gsasl_openid20_client_finish(Gsasl_session *sctx _GL_UNUSED, void *mech_data)
int _gsasl_openid20_client_start(Gsasl_session *sctx _GL_UNUSED, void **mech_data)
int _gsasl_openid20_client_step(Gsasl_session *sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t *output_len)