Lines Matching refs:auth_token
194 VerifyResponse::VerifyResponse(uint32_t user_id, SizedBuffer *auth_token) {
196 this->auth_token.buffer.reset(auth_token->buffer.release());
197 this->auth_token.length = auth_token->length;
203 memset_s(&auth_token, 0, sizeof(auth_token));
207 if (auth_token.length > 0) {
208 auth_token.buffer.reset();
212 void VerifyResponse::SetVerificationToken(SizedBuffer *auth_token) {
213 this->auth_token.buffer.reset(auth_token->buffer.release());
214 this->auth_token.length = auth_token->length;
218 return serialized_buffer_size(auth_token) + sizeof(request_reenroll);
222 append_to_buffer(&buffer, &auth_token);
227 if (auth_token.buffer.get()) {
228 auth_token.buffer.reset();
231 gatekeeper_error_t err = read_from_buffer(&payload, end, &auth_token);