Lines Matching refs:auth_token
192 VerifyResponse::VerifyResponse(uint32_t user_id, SizedBuffer *auth_token) { in VerifyResponse() argument
194 this->auth_token.buffer.reset(auth_token->buffer.release()); in VerifyResponse()
195 this->auth_token.length = auth_token->length; in VerifyResponse()
201 memset_s(&auth_token, 0, sizeof(auth_token)); in VerifyResponse()
205 if (auth_token.length > 0) { in ~VerifyResponse()
206 auth_token.buffer.reset(); in ~VerifyResponse()
210 void VerifyResponse::SetVerificationToken(SizedBuffer *auth_token) { in SetVerificationToken() argument
211 this->auth_token.buffer.reset(auth_token->buffer.release()); in SetVerificationToken()
212 this->auth_token.length = auth_token->length; in SetVerificationToken()
216 return serialized_buffer_size(auth_token) + sizeof(request_reenroll); in nonErrorSerializedSize()
220 append_to_buffer(&buffer, &auth_token); in nonErrorSerialize()
225 if (auth_token.buffer.get()) { in nonErrorDeserialize()
226 auth_token.buffer.reset(); in nonErrorDeserialize()
229 gatekeeper_error_t err = read_from_buffer(&payload, end, &auth_token); in nonErrorDeserialize()